1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: xsaveopt -485498096(%edx,%eax,4)
4// CHECK: encoding: [0x0f,0xae,0xb4,0x82,0x10,0xe3,0x0f,0xe3]
5xsaveopt -485498096(%edx,%eax,4)
6
7// CHECK: xsaveopt 485498096(%edx,%eax,4)
8// CHECK: encoding: [0x0f,0xae,0xb4,0x82,0xf0,0x1c,0xf0,0x1c]
9xsaveopt 485498096(%edx,%eax,4)
10
11// CHECK: xsaveopt 485498096(%edx)
12// CHECK: encoding: [0x0f,0xae,0xb2,0xf0,0x1c,0xf0,0x1c]
13xsaveopt 485498096(%edx)
14
15// CHECK: xsaveopt 485498096
16// CHECK: encoding: [0x0f,0xae,0x35,0xf0,0x1c,0xf0,0x1c]
17xsaveopt 485498096
18
19// CHECK: xsaveopt 64(%edx,%eax)
20// CHECK: encoding: [0x0f,0xae,0x74,0x02,0x40]
21xsaveopt 64(%edx,%eax)
22
23// CHECK: xsaveopt (%edx)
24// CHECK: encoding: [0x0f,0xae,0x32]
25xsaveopt (%edx)
26
27