]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/i386/x86-64-movsxd-intel64-inval.s
x86-64: Properly encode and decode movsxd
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-movsxd-intel64-inval.s
1 # 64-bit only invalid MOVSXD with Intel64 ISA
2 .text
3 _start:
4 movslq %eax, %cx
5 movslq %eax, %ecx
6 movslq (%rax), %ecx
7 movsxd %ax, %ecx
8
9 .intel_syntax noprefix
10 movslq cx, ax
11 movslq ecx, eax
12 movslq ecx, [rax]
13 movsxd cx, eax
14 movsxd cx, DWORD PTR [rax]