1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s 2 3// CHECK: xgetbv 4// CHECK: encoding: [0x0f,0x01,0xd0] 5xgetbv 6 7// CHECK: xrstor -485498096(%edx,%eax,4) 8// CHECK: encoding: [0x0f,0xae,0xac,0x82,0x10,0xe3,0x0f,0xe3] 9xrstor -485498096(%edx,%eax,4) 10 11// CHECK: xrstor 485498096(%edx,%eax,4) 12// CHECK: encoding: [0x0f,0xae,0xac,0x82,0xf0,0x1c,0xf0,0x1c] 13xrstor 485498096(%edx,%eax,4) 14 15// CHECK: xrstor 485498096(%edx) 16// CHECK: encoding: [0x0f,0xae,0xaa,0xf0,0x1c,0xf0,0x1c] 17xrstor 485498096(%edx) 18 19// CHECK: xrstor 485498096 20// CHECK: encoding: [0x0f,0xae,0x2d,0xf0,0x1c,0xf0,0x1c] 21xrstor 485498096 22 23// CHECK: xrstor 64(%edx,%eax) 24// CHECK: encoding: [0x0f,0xae,0x6c,0x02,0x40] 25xrstor 64(%edx,%eax) 26 27// CHECK: xrstor (%edx) 28// CHECK: encoding: [0x0f,0xae,0x2a] 29xrstor (%edx) 30 31// CHECK: xsave -485498096(%edx,%eax,4) 32// CHECK: encoding: [0x0f,0xae,0xa4,0x82,0x10,0xe3,0x0f,0xe3] 33xsave -485498096(%edx,%eax,4) 34 35// CHECK: xsave 485498096(%edx,%eax,4) 36// CHECK: encoding: [0x0f,0xae,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] 37xsave 485498096(%edx,%eax,4) 38 39// CHECK: xsave 485498096(%edx) 40// CHECK: encoding: [0x0f,0xae,0xa2,0xf0,0x1c,0xf0,0x1c] 41xsave 485498096(%edx) 42 43// CHECK: xsave 485498096 44// CHECK: encoding: [0x0f,0xae,0x25,0xf0,0x1c,0xf0,0x1c] 45xsave 485498096 46 47// CHECK: xsave 64(%edx,%eax) 48// CHECK: encoding: [0x0f,0xae,0x64,0x02,0x40] 49xsave 64(%edx,%eax) 50 51// CHECK: xsave (%edx) 52// CHECK: encoding: [0x0f,0xae,0x22] 53xsave (%edx) 54 55// CHECK: xsetbv 56// CHECK: encoding: [0x0f,0x01,0xd1] 57xsetbv 58 59