1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s 2 3// CHECK: fxrstor -485498096(%edx,%eax,4) 4// CHECK: encoding: [0x0f,0xae,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 5fxrstor -485498096(%edx,%eax,4) 6 7// CHECK: fxrstor 485498096(%edx,%eax,4) 8// CHECK: encoding: [0x0f,0xae,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 9fxrstor 485498096(%edx,%eax,4) 10 11// CHECK: fxrstor 485498096(%edx) 12// CHECK: encoding: [0x0f,0xae,0x8a,0xf0,0x1c,0xf0,0x1c] 13fxrstor 485498096(%edx) 14 15// CHECK: fxrstor 485498096 16// CHECK: encoding: [0x0f,0xae,0x0d,0xf0,0x1c,0xf0,0x1c] 17fxrstor 485498096 18 19// CHECK: fxrstor 64(%edx,%eax) 20// CHECK: encoding: [0x0f,0xae,0x4c,0x02,0x40] 21fxrstor 64(%edx,%eax) 22 23// CHECK: fxrstor (%edx) 24// CHECK: encoding: [0x0f,0xae,0x0a] 25fxrstor (%edx) 26 27// CHECK: fxsave -485498096(%edx,%eax,4) 28// CHECK: encoding: [0x0f,0xae,0x84,0x82,0x10,0xe3,0x0f,0xe3] 29fxsave -485498096(%edx,%eax,4) 30 31// CHECK: fxsave 485498096(%edx,%eax,4) 32// CHECK: encoding: [0x0f,0xae,0x84,0x82,0xf0,0x1c,0xf0,0x1c] 33fxsave 485498096(%edx,%eax,4) 34 35// CHECK: fxsave 485498096(%edx) 36// CHECK: encoding: [0x0f,0xae,0x82,0xf0,0x1c,0xf0,0x1c] 37fxsave 485498096(%edx) 38 39// CHECK: fxsave 485498096 40// CHECK: encoding: [0x0f,0xae,0x05,0xf0,0x1c,0xf0,0x1c] 41fxsave 485498096 42 43// CHECK: fxsave 64(%edx,%eax) 44// CHECK: encoding: [0x0f,0xae,0x44,0x02,0x40] 45fxsave 64(%edx,%eax) 46 47// CHECK: fxsave (%edx) 48// CHECK: encoding: [0x0f,0xae,0x02] 49fxsave (%edx) 50 51