summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86-64-fxsave.s
blob: c2b1862c25ca285f371a5fc1e82cd5ba35a79308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Check 64bit fxsave/frstor instructions.

	.text
foo:
	fxsave (%rax)
	fxsave (%r8)
	fxsave (%r8, %rax)
	fxsave (%rax, %r8)
	fxsave (%r8, %r15)
	fxsave64 (%rax)
	fxsave64 (%r8)
	fxsave64 (%r8, %rax)
	fxsave64 (%rax, %r8)
	fxrstor (%rax)
	fxrstor (%r8)
	fxrstor (%r8, %rax)
	fxrstor (%rax, %r8)
	fxrstor (%r8, %r15)
	fxrstor64 (%rax)
	fxrstor64 (%r8)
	fxrstor64 (%r8, %rax)
	fxrstor64 (%rax, %r8)
	fxrstor64 (%r8, %r15)

	.intel_syntax noprefix
fxsave [rax]
fxsave [r8]
fxsave [r8+rax*1]
fxsave [rax+r8*1]
fxsave [r8+r15*1]
fxsave64 [rax]
fxsave64 [r8]
fxsave64 [r8+rax*1]
fxsave64 [rax+r8*1]
fxrstor [rax]
fxrstor [r8]
fxrstor [r8+rax*1]
fxrstor [rax+r8*1]
fxrstor [r8+r15*1]
fxrstor64 [rax]
fxrstor64 [r8]
fxrstor64 [r8+rax*1]
fxrstor64 [rax+r8*1]
fxrstor64 [r8+r15*1]