// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s

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

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

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

// CHECK: ldmxcsr 485498096
// CHECK: encoding: [0x0f,0xae,0x15,0xf0,0x1c,0xf0,0x1c]
ldmxcsr 485498096

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

// CHECK: ldmxcsr (%edx)
// CHECK: encoding: [0x0f,0xae,0x12]
ldmxcsr (%edx)

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

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

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

// CHECK: stmxcsr 485498096
// CHECK: encoding: [0x0f,0xae,0x1d,0xf0,0x1c,0xf0,0x1c]
stmxcsr 485498096

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

// CHECK: stmxcsr (%edx)
// CHECK: encoding: [0x0f,0xae,0x1a]
stmxcsr (%edx)

