diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-11 16:32:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-11 16:32:12 +0000 |
commit | ee211d0ed632d6329922ad4c5f7a25d3d66cf551 (patch) | |
tree | 6fc864ebd12c076af710b65a090c0ae2443d52ed /test | |
parent | cbf8a98c7c652e96967623c80cb945fef001b090 (diff) | |
download | llvm-ee211d0ed632d6329922ad4c5f7a25d3d66cf551.tar.gz llvm-ee211d0ed632d6329922ad4c5f7a25d3d66cf551.tar.bz2 llvm-ee211d0ed632d6329922ad4c5f7a25d3d66cf551.tar.xz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AsmParser/X86/x86_instructions.s | 12 |
1 files changed, 12 insertions, 0 deletions
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 |