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