summaryrefslogtreecommitdiff
path: root/test/MC/X86/x86-32-ms-inline-asm.s
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-02-25 19:06:27 +0000
committerChad Rosier <mcrosier@apple.com>2013-02-25 19:06:27 +0000
commitdca83187b7c4465ad6ff8507052223d31c0ea66a (patch)
tree10750d59d17cf3ee4d6eb28dc75f11e0f2cc64e2 /test/MC/X86/x86-32-ms-inline-asm.s
parent035a1f41a2776d4281e47905eb2b1a44f1992831 (diff)
downloadllvm-dca83187b7c4465ad6ff8507052223d31c0ea66a.tar.gz
llvm-dca83187b7c4465ad6ff8507052223d31c0ea66a.tar.bz2
llvm-dca83187b7c4465ad6ff8507052223d31c0ea66a.tar.xz
[ms-inline asm] Add support for the pushad/popad mnemonics.
rdar://13254235 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86-32-ms-inline-asm.s')
-rw-r--r--test/MC/X86/x86-32-ms-inline-asm.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/X86/x86-32-ms-inline-asm.s b/test/MC/X86/x86-32-ms-inline-asm.s
index 73d5878b41..5524c706cc 100644
--- a/test/MC/X86/x86-32-ms-inline-asm.s
+++ b/test/MC/X86/x86-32-ms-inline-asm.s
@@ -57,4 +57,17 @@ _t21: ## @t21
// CHECK: movl 4(%esi,%eax,2), %eax
// CHECK: # encoding: [0x8b,0x44,0x46,0x04]
+ pusha
+// CHECK: pushal
+// CHECK: # encoding: [0x60]
+ popa
+// CHECK: popal
+// CHECK: # encoding: [0x61]
+ pushad
+// CHECK: pushal
+// CHECK: # encoding: [0x60]
+ popad
+// CHECK: popal
+// CHECK: # encoding: [0x61]
+
ret