1// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: fxrstor64 485498096
4// CHECK: encoding: [0x48,0x0f,0xae,0x0c,0x25,0xf0,0x1c,0xf0,0x1c]
5fxrstor64 485498096
6
7// CHECK: fxrstor64 64(%rdx)
8// CHECK: encoding: [0x48,0x0f,0xae,0x4a,0x40]
9fxrstor64 64(%rdx)
10
11// CHECK: fxrstor64 64(%rdx,%rax,4)
12// CHECK: encoding: [0x48,0x0f,0xae,0x4c,0x82,0x40]
13fxrstor64 64(%rdx,%rax,4)
14
15// CHECK: fxrstor64 -64(%rdx,%rax,4)
16// CHECK: encoding: [0x48,0x0f,0xae,0x4c,0x82,0xc0]
17fxrstor64 -64(%rdx,%rax,4)
18
19// CHECK: fxrstor64 64(%rdx,%rax)
20// CHECK: encoding: [0x48,0x0f,0xae,0x4c,0x02,0x40]
21fxrstor64 64(%rdx,%rax)
22
23// CHECK: fxrstor64 (%rdx)
24// CHECK: encoding: [0x48,0x0f,0xae,0x0a]
25fxrstor64 (%rdx)
26
27// CHECK: fxsave64 485498096
28// CHECK: encoding: [0x48,0x0f,0xae,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
29fxsave64 485498096
30
31// CHECK: fxsave64 64(%rdx)
32// CHECK: encoding: [0x48,0x0f,0xae,0x42,0x40]
33fxsave64 64(%rdx)
34
35// CHECK: fxsave64 64(%rdx,%rax,4)
36// CHECK: encoding: [0x48,0x0f,0xae,0x44,0x82,0x40]
37fxsave64 64(%rdx,%rax,4)
38
39// CHECK: fxsave64 -64(%rdx,%rax,4)
40// CHECK: encoding: [0x48,0x0f,0xae,0x44,0x82,0xc0]
41fxsave64 -64(%rdx,%rax,4)
42
43// CHECK: fxsave64 64(%rdx,%rax)
44// CHECK: encoding: [0x48,0x0f,0xae,0x44,0x02,0x40]
45fxsave64 64(%rdx,%rax)
46
47// CHECK: fxsave64 (%rdx)
48// CHECK: encoding: [0x48,0x0f,0xae,0x02]
49fxsave64 (%rdx)
50
51