xref: /llvm-project/llvm/test/MC/X86/CLFSH-32.s (revision 0ae485c58160c53ca9f7c15f10dc236d7e1df8d4)
1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: clflush -485498096(%edx,%eax,4)
4// CHECK: encoding: [0x0f,0xae,0xbc,0x82,0x10,0xe3,0x0f,0xe3]
5clflush -485498096(%edx,%eax,4)
6
7// CHECK: clflush 485498096(%edx,%eax,4)
8// CHECK: encoding: [0x0f,0xae,0xbc,0x82,0xf0,0x1c,0xf0,0x1c]
9clflush 485498096(%edx,%eax,4)
10
11// CHECK: clflush 485498096(%edx)
12// CHECK: encoding: [0x0f,0xae,0xba,0xf0,0x1c,0xf0,0x1c]
13clflush 485498096(%edx)
14
15// CHECK: clflush 485498096
16// CHECK: encoding: [0x0f,0xae,0x3d,0xf0,0x1c,0xf0,0x1c]
17clflush 485498096
18
19// CHECK: clflush 64(%edx,%eax)
20// CHECK: encoding: [0x0f,0xae,0x7c,0x02,0x40]
21clflush 64(%edx,%eax)
22
23// CHECK: clflush (%edx)
24// CHECK: encoding: [0x0f,0xae,0x3a]
25clflush (%edx)
26
27