1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: xrstors -485498096(%edx,%eax,4)
4// CHECK: encoding: [0x0f,0xc7,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
5xrstors -485498096(%edx,%eax,4)
6
7// CHECK: xrstors 485498096(%edx,%eax,4)
8// CHECK: encoding: [0x0f,0xc7,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
9xrstors 485498096(%edx,%eax,4)
10
11// CHECK: xrstors 485498096(%edx)
12// CHECK: encoding: [0x0f,0xc7,0x9a,0xf0,0x1c,0xf0,0x1c]
13xrstors 485498096(%edx)
14
15// CHECK: xrstors 485498096
16// CHECK: encoding: [0x0f,0xc7,0x1d,0xf0,0x1c,0xf0,0x1c]
17xrstors 485498096
18
19// CHECK: xrstors 64(%edx,%eax)
20// CHECK: encoding: [0x0f,0xc7,0x5c,0x02,0x40]
21xrstors 64(%edx,%eax)
22
23// CHECK: xrstors (%edx)
24// CHECK: encoding: [0x0f,0xc7,0x1a]
25xrstors (%edx)
26
27// CHECK: xsaves -485498096(%edx,%eax,4)
28// CHECK: encoding: [0x0f,0xc7,0xac,0x82,0x10,0xe3,0x0f,0xe3]
29xsaves -485498096(%edx,%eax,4)
30
31// CHECK: xsaves 485498096(%edx,%eax,4)
32// CHECK: encoding: [0x0f,0xc7,0xac,0x82,0xf0,0x1c,0xf0,0x1c]
33xsaves 485498096(%edx,%eax,4)
34
35// CHECK: xsaves 485498096(%edx)
36// CHECK: encoding: [0x0f,0xc7,0xaa,0xf0,0x1c,0xf0,0x1c]
37xsaves 485498096(%edx)
38
39// CHECK: xsaves 485498096
40// CHECK: encoding: [0x0f,0xc7,0x2d,0xf0,0x1c,0xf0,0x1c]
41xsaves 485498096
42
43// CHECK: xsaves 64(%edx,%eax)
44// CHECK: encoding: [0x0f,0xc7,0x6c,0x02,0x40]
45xsaves 64(%edx,%eax)
46
47// CHECK: xsaves (%edx)
48// CHECK: encoding: [0x0f,0xc7,0x2a]
49xsaves (%edx)
50
51