diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-24 23:34:38 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-24 23:34:38 +0000 |
commit | 468f1df7533f453dca45df1adc79f4199a6a366b (patch) | |
tree | c50cba7a2a009e52c54412d0c2ae1b45be08f896 | |
parent | 9356608f56500932888b013473d53079e97e3fa5 (diff) | |
download | bcm5719-llvm-468f1df7533f453dca45df1adc79f4199a6a366b.tar.gz bcm5719-llvm-468f1df7533f453dca45df1adc79f4199a6a366b.zip |
Tell llvm-mc we're using intel syntax, so we don't have to use directives.
llvm-svn: 166640
-rw-r--r-- | llvm/test/MC/X86/x86-32-ms-inline-asm.s | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/test/MC/X86/x86-32-ms-inline-asm.s b/llvm/test/MC/X86/x86-32-ms-inline-asm.s index aedef463850..a5e80b2c938 100644 --- a/llvm/test/MC/X86/x86-32-ms-inline-asm.s +++ b/llvm/test/MC/X86/x86-32-ms-inline-asm.s @@ -1,12 +1,10 @@ -// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s +// RUN: llvm-mc -x86-asm-syntax=intel -triple i386-unknown-unknown --show-encoding %s | FileCheck %s -.intel_syntax mov eax, [ebx].0 mov [ebx].4, ecx -.att_syntax - -; CHECK: movl (%ebx), %eax -; CHECK: encoding: [0x8b,0x03] -; CHECK: movl %ecx, 4(%ebx) -; CHECK: encoding: [0x89,0x4b,0x04] + +// CHECK: movl (%ebx), %eax +// CHECK: encoding: [0x8b,0x03] +// CHECK: movl %ecx, 4(%ebx) +// CHECK: encoding: [0x89,0x4b,0x04] |