aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/X86/XSAVE-64.s
blob: 0c4e35f931341fca1909175395d2c9cf5d967290 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s

// CHECK: xgetbv 
// CHECK: encoding: [0x0f,0x01,0xd0]          
xgetbv 

// CHECK: xrstor 485498096 
// CHECK: encoding: [0x0f,0xae,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]         
xrstor 485498096 

// CHECK: xrstor64 485498096 
// CHECK: encoding: [0x48,0x0f,0xae,0x2c,0x25,0xf0,0x1c,0xf0,0x1c]         
xrstor64 485498096 

// CHECK: xrstor64 64(%rdx) 
// CHECK: encoding: [0x48,0x0f,0xae,0x6a,0x40]         
xrstor64 64(%rdx) 

// CHECK: xrstor64 64(%rdx,%rax,4) 
// CHECK: encoding: [0x48,0x0f,0xae,0x6c,0x82,0x40]         
xrstor64 64(%rdx,%rax,4) 

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

// CHECK: xrstor64 64(%rdx,%rax) 
// CHECK: encoding: [0x48,0x0f,0xae,0x6c,0x02,0x40]         
xrstor64 64(%rdx,%rax) 

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

// CHECK: xrstor64 (%rdx) 
// CHECK: encoding: [0x48,0x0f,0xae,0x2a]         
xrstor64 (%rdx) 

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

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

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

// CHECK: xrstor (%rdx) 
// CHECK: encoding: [0x0f,0xae,0x2a]         
xrstor (%rdx) 

// CHECK: xsave 485498096 
// CHECK: encoding: [0x0f,0xae,0x24,0x25,0xf0,0x1c,0xf0,0x1c]         
xsave 485498096 

// CHECK: xsave64 485498096 
// CHECK: encoding: [0x48,0x0f,0xae,0x24,0x25,0xf0,0x1c,0xf0,0x1c]         
xsave64 485498096 

// CHECK: xsave64 64(%rdx) 
// CHECK: encoding: [0x48,0x0f,0xae,0x62,0x40]         
xsave64 64(%rdx) 

// CHECK: xsave64 64(%rdx,%rax,4) 
// CHECK: encoding: [0x48,0x0f,0xae,0x64,0x82,0x40]         
xsave64 64(%rdx,%rax,4) 

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

// CHECK: xsave64 64(%rdx,%rax) 
// CHECK: encoding: [0x48,0x0f,0xae,0x64,0x02,0x40]         
xsave64 64(%rdx,%rax) 

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

// CHECK: xsave64 (%rdx) 
// CHECK: encoding: [0x48,0x0f,0xae,0x22]         
xsave64 (%rdx) 

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

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

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

// CHECK: xsave (%rdx) 
// CHECK: encoding: [0x0f,0xae,0x22]         
xsave (%rdx) 

// CHECK: xsetbv 
// CHECK: encoding: [0x0f,0x01,0xd1]          
xsetbv