aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-06-14 03:17:20 +0000
committerBill Wendling <isanbard@gmail.com>2011-06-14 03:17:20 +0000
commit740e5b3586a474f1cea371cf6f652850e5420b90 (patch)
tree9f16c545b1ec0afa2c7f58ec9ddd923db1d5e42d /test/MC
parent410eac553600d33ea5535dc4c906eadd8d4b593a (diff)
downloadexternal_llvm-740e5b3586a474f1cea371cf6f652850e5420b90.zip
external_llvm-740e5b3586a474f1cea371cf6f652850e5420b90.tar.gz
external_llvm-740e5b3586a474f1cea371cf6f652850e5420b90.tar.bz2
Heuristic: If the number of operands in the alias are more than the number of
operands in the aliasee, don't print the alias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/X86/x86-64.s40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index fe08559..ca206da 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -232,10 +232,10 @@ cmovnzq %rbx, %rax
// rdar://8407928
// CHECK: inb $127, %al
-// CHECK: inw %dx
+// CHECK: inw %dx, %ax
// CHECK: outb %al, $127
-// CHECK: outw %dx
-// CHECK: inl %dx
+// CHECK: outw %ax, %dx
+// CHECK: inl %dx, %eax
inb $0x7f
inw %dx
outb $0x7f
@@ -244,12 +244,12 @@ inl %dx
// PR8114
-// CHECK: outb %dx
-// CHECK: outb %dx
-// CHECK: outw %dx
-// CHECK: outw %dx
-// CHECK: outl %dx
-// CHECK: outl %dx
+// 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)
@@ -258,12 +258,12 @@ outw %ax, (%dx)
out %eax, (%dx)
outl %eax, (%dx)
-// CHECK: inb %dx
-// CHECK: inb %dx
-// CHECK: inw %dx
-// CHECK: inw %dx
-// CHECK: inl %dx
-// CHECK: inl %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
@@ -308,10 +308,10 @@ fucomi
fucomi %st(2)
fucomi %st(2), %st
-// CHECK: fnstsw %ax
-// CHECK: fnstsw %ax
-// CHECK: fnstsw %ax
-// CHECK: fnstsw %ax
+// CHECK: fnstsw
+// CHECK: fnstsw
+// CHECK: fnstsw
+// CHECK: fnstsw
fnstsw
fnstsw %ax
@@ -457,7 +457,7 @@ cdq // CHECK: cltd
// rdar://8456378 and PR7557 - fstsw
fstsw %ax
// CHECK: wait
-// CHECK: fnstsw %ax
+// CHECK: fnstsw
fstsw (%rax)
// CHECK: wait
// CHECK: fnstsw (%rax)