aboutsummaryrefslogtreecommitdiff
path: root/test/MC/X86
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-24 23:34:38 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-24 23:34:38 +0000
commitd95666c226e41218a07541aaa2cc1fba823c25e4 (patch)
treeca04539814fde28d3f33737f7f2bad95acb5d595 /test/MC/X86
parent6e86da58fbbb2ce096a304b49af5e502273bfca3 (diff)
Tell llvm-mc we're using intel syntax, so we don't have to use directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r--test/MC/X86/x86-32-ms-inline-asm.s14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/MC/X86/x86-32-ms-inline-asm.s b/test/MC/X86/x86-32-ms-inline-asm.s
index aedef46385..a5e80b2c93 100644
--- a/test/MC/X86/x86-32-ms-inline-asm.s
+++ b/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]