summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-06 23:29:05 +0000
committerChris Lattner <sabre@nondot.org>2010-09-06 23:29:05 +0000
commit34e366b45c2b61182b89bfbdb0c2db25b1d9bf8e (patch)
tree8ec7eb405f9b285a559d4226217c3dd609efbcb1 /llvm/test
parent3c68757c45f6a0956a312286c5e079abdc8b5d24 (diff)
downloadbcm5719-llvm-34e366b45c2b61182b89bfbdb0c2db25b1d9bf8e.tar.gz
bcm5719-llvm-34e366b45c2b61182b89bfbdb0c2db25b1d9bf8e.zip
fix the operand constraints of the immediate form of in/out,
allowing unsigned 8-bit operands. This fixes rdar://8208481 llvm-svn: 113182
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/AsmParser/X86/x86_instructions.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/X86/x86_instructions.s b/llvm/test/MC/AsmParser/X86/x86_instructions.s
index 5d7fff9bbca..43702a16174 100644
--- a/llvm/test/MC/AsmParser/X86/x86_instructions.s
+++ b/llvm/test/MC/AsmParser/X86/x86_instructions.s
@@ -164,3 +164,12 @@ imul $12, %eax
// CHECK: imull %ecx, %eax
imull %ecx, %eax
+
+
+// rdar://8208481
+// CHECK: outb %al, $161
+outb %al, $161
+// CHECK: outw %ax, $128
+outw %ax, $128
+// CHECK: inb $161, %al
+inb $161, %al
OpenPOWER on IntegriCloud