summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/FXSAVE-64.s
blob: 04edc080a924f7fb0cd85fed0fa79c4e10156685 (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
45
46
47
48
49
50
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s

// CHECK: fxrstor 485498096 
// CHECK: encoding: [0x0f,0xae,0x0c,0x25,0xf0,0x1c,0xf0,0x1c]         
fxrstor 485498096 

// CHECK: fxrstor 64(%rdx) 
// CHECK: encoding: [0x0f,0xae,0x4a,0x40]         
fxrstor 64(%rdx) 

// CHECK: fxrstor 64(%rdx,%rax,4) 
// CHECK: encoding: [0x0f,0xae,0x4c,0x82,0x40]         
fxrstor 64(%rdx,%rax,4) 

// CHECK: fxrstor -64(%rdx,%rax,4) 
// CHECK: encoding: [0x0f,0xae,0x4c,0x82,0xc0]         
fxrstor -64(%rdx,%rax,4) 

// CHECK: fxrstor 64(%rdx,%rax) 
// CHECK: encoding: [0x0f,0xae,0x4c,0x02,0x40]         
fxrstor 64(%rdx,%rax) 

// CHECK: fxrstor (%rdx) 
// CHECK: encoding: [0x0f,0xae,0x0a]         
fxrstor (%rdx) 

// CHECK: fxsave 485498096 
// CHECK: encoding: [0x0f,0xae,0x04,0x25,0xf0,0x1c,0xf0,0x1c]         
fxsave 485498096 

// CHECK: fxsave 64(%rdx) 
// CHECK: encoding: [0x0f,0xae,0x42,0x40]         
fxsave 64(%rdx) 

// CHECK: fxsave 64(%rdx,%rax,4) 
// CHECK: encoding: [0x0f,0xae,0x44,0x82,0x40]         
fxsave 64(%rdx,%rax,4) 

// CHECK: fxsave -64(%rdx,%rax,4) 
// CHECK: encoding: [0x0f,0xae,0x44,0x82,0xc0]         
fxsave -64(%rdx,%rax,4) 

// CHECK: fxsave 64(%rdx,%rax) 
// CHECK: encoding: [0x0f,0xae,0x44,0x02,0x40]         
fxsave 64(%rdx,%rax) 

// CHECK: fxsave (%rdx) 
// CHECK: encoding: [0x0f,0xae,0x02]         
fxsave (%rdx) 

OpenPOWER on IntegriCloud