aboutsummaryrefslogtreecommitdiff
path: root/test/MC/X86
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2012-01-30 20:02:42 +0000
committerDevang Patel <dpatel@apple.com>2012-01-30 20:02:42 +0000
commitbe3e310d5ed8717f070acc71b0f4dae28cb08c4d (patch)
tree6eef91f40a91b17180315e2164a39fec907e7d24 /test/MC/X86
parent630ecf0f53168451343e254b1fe4dc21c9e83052 (diff)
Intel syntax. Support .intel_syntax directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r--test/MC/X86/intel-syntax-2.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/X86/intel-syntax-2.s b/test/MC/X86/intel-syntax-2.s
new file mode 100644
index 0000000000..ca4afc3173
--- /dev/null
+++ b/test/MC/X86/intel-syntax-2.s
@@ -0,0 +1,7 @@
+// RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s
+
+ .intel_syntax
+_test:
+// CHECK: movl $257, -4(%rsp)
+ mov DWORD PTR [RSP - 4], 257
+