summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86-64-movsxd.s
blob: f0efd59319af9ba325ab13f3a53dee2a4b5d2f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 64-bit only MOVSXD with AMD64 ISA
	.text
_start:
	movslq	%eax, %rcx
	movslq	(%rax), %rcx
	movsxd	%eax, %ecx
	movsxd	(%rax), %ecx
	movsxd	%eax, %cx
	movsxd	(%rax), %cx

	.intel_syntax noprefix
	movsxd	rcx, eax
	movsxd	rcx, DWORD PTR [rax]
	movsxd	rcx, [rax]
	movsxd	ecx, eax
	movsxd	ecx, DWORD PTR [rax]
	movsxd	ecx, [rax]
	movsxd	cx, eax
	movsxd	cx, DWORD PTR [rax]
	movsxd	cx, [rax]