summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86VZeroUpper.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2014-12-15 22:34:58 +0000
committerJF Bastien <jfb@google.com>2014-12-15 22:34:58 +0000
commit388b8794c9cc83dcad29b34a751405eb4f5371d3 (patch)
tree5ce800a9b481c3ee8f38a5aa27e1f2c4ad2eb748 /llvm/lib/Target/X86/X86VZeroUpper.cpp
parent71e11a1d0d2c0419ff2edd1bea0c091441156f12 (diff)
downloadbcm5719-llvm-388b8794c9cc83dcad29b34a751405eb4f5371d3.tar.gz
bcm5719-llvm-388b8794c9cc83dcad29b34a751405eb4f5371d3.zip
x86: Emit LOCK prefix after DATA16
Summary: x86 allows either ordering for the LOCK and DATA16 prefixes, but using GCC+GAS leads to different code generation than using LLVM. This change matches the order that GAS emits the x86 prefixes when a semicolon isn't used in inline assembly (see tc-i386.c comment before define LOCK_PREFIX), and helps simplify tooling that operates on the instruction's byte sequence (such as NaCl's validator). This change shouldn't have any performance impact. Test Plan: ninja check Reviewers: craig.topper, jvoung Subscribers: jfb, llvm-commits Differential Revision: http://reviews.llvm.org/D6630 llvm-svn: 224283
Diffstat (limited to 'llvm/lib/Target/X86/X86VZeroUpper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud