summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/CLFSH-64.s
blob: f2c2ae51c81b6293063a4d095124fa506eafb008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s

// CHECK: clflush 485498096 
// CHECK: encoding: [0x0f,0xae,0x3c,0x25,0xf0,0x1c,0xf0,0x1c]         
clflush 485498096 

// CHECK: clflush 64(%rdx) 
// CHECK: encoding: [0x0f,0xae,0x7a,0x40]         
clflush 64(%rdx) 

// CHECK: clflush 64(%rdx,%rax,4) 
// CHECK: encoding: [0x0f,0xae,0x7c,0x82,0x40]         
clflush 64(%rdx,%rax,4) 

// CHECK: clflush -64(%rdx,%rax,4) 
// CHECK: encoding: [0x0f,0xae,0x7c,0x82,0xc0]         
clflush -64(%rdx,%rax,4) 

// CHECK: clflush 64(%rdx,%rax) 
// CHECK: encoding: [0x0f,0xae,0x7c,0x02,0x40]         
clflush 64(%rdx,%rax) 

// CHECK: clflush (%rdx) 
// CHECK: encoding: [0x0f,0xae,0x3a]         
clflush (%rdx) 

OpenPOWER on IntegriCloud