x86: replace adhoc (partly wrong) ambiguous operand checking for MOVSX/MOVZX
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86_64.s
index ef887d5b5f3bcd0685b97d3e273897f94c33a745..da820439a9270cb1144daf282baab44cbf6ff4d3 100644 (file)
@@ -99,6 +99,14 @@ cdqe
 movsx rax, eax
 movsx rax, ax
 movsx rax, al
+retf
+retf 16
+retfw
+retfw 2
+retfd
+retfd 4
+retfq
+retfq 8
 bar:
 .att_syntax
 #testcase for symbol references.
@@ -200,8 +208,6 @@ cmpxchg16b oword ptr [rax]
        movsx   %ax, %esi
        movsx   %ax, %rsi
        movsx   %eax, %rsi
-       movsx   (%rax), %edx
-       movsx   (%rax), %rdx
        movsx   (%rax), %dx
        movsbl  (%rax), %edx
        movsbq  (%rax), %rdx
@@ -214,8 +220,6 @@ cmpxchg16b oword ptr [rax]
        movzx   %al, %rsi
        movzx   %ax, %esi
        movzx   %ax, %rsi
-       movzx   (%rax), %edx
-       movzx   (%rax), %rdx
        movzx   (%rax), %dx
        movzb   (%rax), %edx
        movzb   (%rax), %rdx
@@ -269,8 +273,6 @@ cmpxchg16b oword ptr [rax]
 
 .att_syntax
 movsx (%rax),%ax
-movsx (%rax),%eax
-movsx (%rax),%rax
 movsxb (%rax), %dx
 movsxb (%rax), %edx
 movsxb (%rax), %rdx
@@ -279,8 +281,6 @@ movsxw      (%rax), %rdx
 movsxl (%rax), %rdx
 movsxd (%rax),%rax
 movzx (%rax),%ax
-movzx (%rax),%eax
-movzx (%rax),%rax
 movzxb (%rax), %dx
 movzxb (%rax), %edx
 movzxb (%rax), %rdx
This page took 0.03092 seconds and 4 git commands to generate.