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 | 30561aba207001bb7aec11a377be7cd0fd27ae61 (patch) | |
| tree | f9079aa41948cb27180acf751b150cb027d3f289 /llvm/test | |
| parent | a2a9d16b782f037132326535082ddd42bfb4551f (diff) | |
| download | bcm5719-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.s | 12 |
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 |

