xref: /llvm-project/llvm/test/MC/X86/CLFLUSHOPT-64.s (revision 0ae485c58160c53ca9f7c15f10dc236d7e1df8d4)
1// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: clflushopt 485498096
4// CHECK: encoding: [0x66,0x0f,0xae,0x3c,0x25,0xf0,0x1c,0xf0,0x1c]
5clflushopt 485498096
6
7// CHECK: clflushopt 64(%rdx)
8// CHECK: encoding: [0x66,0x0f,0xae,0x7a,0x40]
9clflushopt 64(%rdx)
10
11// CHECK: clflushopt 64(%rdx,%rax,4)
12// CHECK: encoding: [0x66,0x0f,0xae,0x7c,0x82,0x40]
13clflushopt 64(%rdx,%rax,4)
14
15// CHECK: clflushopt -64(%rdx,%rax,4)
16// CHECK: encoding: [0x66,0x0f,0xae,0x7c,0x82,0xc0]
17clflushopt -64(%rdx,%rax,4)
18
19// CHECK: clflushopt 64(%rdx,%rax)
20// CHECK: encoding: [0x66,0x0f,0xae,0x7c,0x02,0x40]
21clflushopt 64(%rdx,%rax)
22
23// CHECK: clflushopt (%rdx)
24// CHECK: encoding: [0x66,0x0f,0xae,0x3a]
25clflushopt (%rdx)
26
27