aboutsummaryrefslogtreecommitdiff
path: root/test/MC/X86/intel-syntax-encoding.s
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2012-01-19 18:15:51 +0000
committerDevang Patel <dpatel@apple.com>2012-01-19 18:15:51 +0000
commite60540f380cc9466f3b2f7d17adfd37db137689c (patch)
tree14f9083cf2d1bffa04f031234a50cfecd4865847 /test/MC/X86/intel-syntax-encoding.s
parentac0f0486022fb1798579c9a550154e839770efa9 (diff)
Intel syntax: There is no need to create unary expr for simple negative displacement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/intel-syntax-encoding.s')
-rw-r--r--test/MC/X86/intel-syntax-encoding.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/intel-syntax-encoding.s b/test/MC/X86/intel-syntax-encoding.s
index 0d1b2fa993..23eff01691 100644
--- a/test/MC/X86/intel-syntax-encoding.s
+++ b/test/MC/X86/intel-syntax-encoding.s
@@ -20,3 +20,7 @@
cmp eax, 12
// CHECK: encoding: [0x48,0x83,0xf8,0x0c]
cmp rax, 12
+
+// CHECK: encoding: [0x48,0x89,0x44,0x24,0xf0]
+ mov QWORD PTR [RSP - 16], RAX
+