• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: clflush 485498096
4// CHECK: encoding: [0x0f,0xae,0x3c,0x25,0xf0,0x1c,0xf0,0x1c]
5clflush 485498096
6
7// CHECK: clflush 64(%rdx)
8// CHECK: encoding: [0x0f,0xae,0x7a,0x40]
9clflush 64(%rdx)
10
11// CHECK: clflush 64(%rdx,%rax,4)
12// CHECK: encoding: [0x0f,0xae,0x7c,0x82,0x40]
13clflush 64(%rdx,%rax,4)
14
15// CHECK: clflush -64(%rdx,%rax,4)
16// CHECK: encoding: [0x0f,0xae,0x7c,0x82,0xc0]
17clflush -64(%rdx,%rax,4)
18
19// CHECK: clflush 64(%rdx,%rax)
20// CHECK: encoding: [0x0f,0xae,0x7c,0x02,0x40]
21clflush 64(%rdx,%rax)
22
23// CHECK: clflush (%rdx)
24// CHECK: encoding: [0x0f,0xae,0x3a]
25clflush (%rdx)
26
27