summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/XSAVE-32.s
blob: 0b63f83d86c989cbc831a6f4f9b2fa1de50576ec (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
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s

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

// CHECK: xrstor -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0xae,0xac,0x82,0x10,0xe3,0x0f,0xe3]         
xrstor -485498096(%edx,%eax,4) 

// CHECK: xrstor 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0xae,0xac,0x82,0xf0,0x1c,0xf0,0x1c]         
xrstor 485498096(%edx,%eax,4) 

// CHECK: xrstor 485498096(%edx) 
// CHECK: encoding: [0x0f,0xae,0xaa,0xf0,0x1c,0xf0,0x1c]         
xrstor 485498096(%edx) 

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

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

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

// CHECK: xsave -485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0xae,0xa4,0x82,0x10,0xe3,0x0f,0xe3]         
xsave -485498096(%edx,%eax,4) 

// CHECK: xsave 485498096(%edx,%eax,4) 
// CHECK: encoding: [0x0f,0xae,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]         
xsave 485498096(%edx,%eax,4) 

// CHECK: xsave 485498096(%edx) 
// CHECK: encoding: [0x0f,0xae,0xa2,0xf0,0x1c,0xf0,0x1c]         
xsave 485498096(%edx) 

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

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

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

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

OpenPOWER on IntegriCloud