diff options
author | Devang Patel <dpatel@apple.com> | 2012-01-19 18:15:51 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2012-01-19 18:15:51 +0000 |
commit | 2529dd9e00cbb5ef392b18ea922e710aa7688d24 (patch) | |
tree | aa046ae223f0ff69bf6fe709daaab71d2da32e9f /llvm/test/MC/X86/intel-syntax-encoding.s | |
parent | 4a62ff9bcb5f74a99d6ac72e8440cc5b3e717839 (diff) | |
download | bcm5719-llvm-2529dd9e00cbb5ef392b18ea922e710aa7688d24.tar.gz bcm5719-llvm-2529dd9e00cbb5ef392b18ea922e710aa7688d24.zip |
Intel syntax: There is no need to create unary expr for simple negative displacement.
llvm-svn: 148486
Diffstat (limited to 'llvm/test/MC/X86/intel-syntax-encoding.s')
-rw-r--r-- | llvm/test/MC/X86/intel-syntax-encoding.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/intel-syntax-encoding.s b/llvm/test/MC/X86/intel-syntax-encoding.s index 0d1b2fa9932..23eff016910 100644 --- a/llvm/test/MC/X86/intel-syntax-encoding.s +++ b/llvm/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 + |