x86: replace adhoc (partly wrong) ambiguous operand checking for MOVSX/MOVZX
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / movz.s
1 .text
2 movz:
3 movzb %al,%ax
4 movzb (%eax),%ax
5 movzb %al,%eax
6 movzb (%eax),%eax
7 .ifdef x86_64
8 movzb %al,%rax
9 movzb (%rax),%rax
10 .endif
11
12 movzbw %al,%ax
13 movzbw (%eax),%ax
14 movzbl %al,%eax
15 movzbl (%eax),%eax
16 .ifdef x86_64
17 movzbq %al,%rax
18 movzbq (%rax),%rax
19 .endif
20
21 movzw %ax,%eax
22 movzw (%eax),%eax
23 .ifdef x86_64
24 movzw %ax,%rax
25 movzw (%rax),%rax
26 .endif
27
28 movzwl %ax,%eax
29 movzwl (%eax),%eax
30 .ifdef x86_64
31 movzwq %ax,%rax
32 movzwq (%rax),%rax
33 .endif
This page took 0.03137 seconds and 4 git commands to generate.