aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-02-22 20:40:09 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-02-22 20:40:09 +0000
commit00743c2218ff3f0f4edce972e2d88893a19e6ef8 (patch)
treebf5b52590dca9233d3aedff1fff5dded17526ba4 /test/MC
parent6557bce3ec8d5a82b2ea299a18cb51677b299633 (diff)
downloadexternal_llvm-00743c2218ff3f0f4edce972e2d88893a19e6ef8.zip
external_llvm-00743c2218ff3f0f4edce972e2d88893a19e6ef8.tar.gz
external_llvm-00743c2218ff3f0f4edce972e2d88893a19e6ef8.tar.bz2
Use the same (%dx) hack for in[bwl] as for out[bwl].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/X86/x86-64.s25
1 files changed, 22 insertions, 3 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index 456c21a1..ee9757f 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -241,13 +241,32 @@ inl %dx
// PR8114
// CHECK: outb %al, %dx
+// CHECK: outb %al, %dx
+// CHECK: outw %ax, %dx
// CHECK: outw %ax, %dx
// CHECK: outl %eax, %dx
+// CHECK: outl %eax, %dx
+
+out %al, (%dx)
+outb %al, (%dx)
+out %ax, (%dx)
+outw %ax, (%dx)
+out %eax, (%dx)
+outl %eax, (%dx)
-out %al, (%dx)
-out %ax, (%dx)
-outl %eax, (%dx)
+// CHECK: inb %dx, %al
+// CHECK: inb %dx, %al
+// CHECK: inw %dx, %ax
+// CHECK: inw %dx, %ax
+// CHECK: inl %dx, %eax
+// CHECK: inl %dx, %eax
+in (%dx), %al
+inb (%dx), %al
+in (%dx), %ax
+inw (%dx), %ax
+in (%dx), %eax
+inl (%dx), %eax
// rdar://8431422