From ee211d0ed632d6329922ad4c5f7a25d3d66cf551 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 11 Sep 2010 16:32:12 +0000 Subject: implement rdar://8407928 - support for in/out with a missing "a" register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113689 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/AsmParser/X86/x86_instructions.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test') diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s index 9b535eaa5e..b895de35cc 100644 --- a/test/MC/AsmParser/X86/x86_instructions.s +++ b/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 -- cgit v1.2.3