summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-11 16:32:12 +0000
committerChris Lattner <sabre@nondot.org>2010-09-11 16:32:12 +0000
commit30561aba207001bb7aec11a377be7cd0fd27ae61 (patch)
treef9079aa41948cb27180acf751b150cb027d3f289 /llvm/test
parenta2a9d16b782f037132326535082ddd42bfb4551f (diff)
downloadbcm5719-llvm-30561aba207001bb7aec11a377be7cd0fd27ae61.tar.gz
bcm5719-llvm-30561aba207001bb7aec11a377be7cd0fd27ae61.zip
implement rdar://8407928 - support for in/out with a missing "a" register.
llvm-svn: 113689
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/AsmParser/X86/x86_instructions.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/X86/x86_instructions.s b/llvm/test/MC/AsmParser/X86/x86_instructions.s
index 9b535eaa5ea..b895de35cce 100644
--- a/llvm/test/MC/AsmParser/X86/x86_instructions.s
+++ b/llvm/test/MC/AsmParser/X86/x86_instructions.s
@@ -188,3 +188,15 @@ cmovnz %bx, %ax
// CHECK: cmovneq %rbx, %rax
cmovnzq %rbx, %rax
+
+// rdar://8407928
+// CHECK: inb $127, %al
+// CHECK: inw %dx, %ax
+// CHECK: outb %al, $127
+// CHECK: outw %ax, %dx
+// CHECK: inl %dx, %eax
+inb $0x7f
+inw %dx
+outb $0x7f
+outw %dx
+inl %dx
OpenPOWER on IntegriCloud