llvm-6502/lib
JF Bastien 13c782674a 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224283 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-15 22:34:58 +00:00
..
Analysis Clarify HowFarToZero computation when the step is a positive power of two. Functionally this should be identical to the existing code except for the case where Step is maximally negative (eg, INT_MIN). We now punt in that one corner case to make reasoning about the code easier. 2014-12-15 21:19:53 +00:00
AsmParser IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
Bitcode
CodeGen Revert "LiveRangeCalc: Rewrite subrange calculation" 2014-12-15 21:36:35 +00:00
DebugInfo Silence more static analyzer warnings. 2014-12-15 18:48:43 +00:00
ExecutionEngine
IR IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
IRReader
LineEditor
Linker Clean up warning about unused variable 2014-12-15 21:47:09 +00:00
LTO
MC Changing a cast from unsigned to uint64_t, should be NFC in practice. 2014-12-15 14:25:12 +00:00
Object Silence more static analyzer warnings. 2014-12-15 18:48:43 +00:00
Option
ProfileData
Support
TableGen
Target x86: Emit LOCK prefix after DATA16 2014-12-15 22:34:58 +00:00
Transforms Sink store based on alias analysis 2014-12-15 14:09:53 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile