[MC] Align fragments when -mc-relax-all flag is used
[oota-llvm.git] / test / MC / X86 / mpx-encodings.s
1 // RUN: llvm-mc -triple x86_64-unknown-unknown -mcpu=knl --show-encoding %s | FileCheck %s
2
3 // CHECK: bndmk (%rax), %bnd0
4 // CHECK:  encoding: [0xf3,0x48,0x0f,0x1b,0x00]
5 bndmk (%rax), %bnd0
6
7 // CHECK: bndmk 1024(%rax), %bnd1
8 // CHECK:  encoding: [0xf3,0x48,0x0f,0x1b,0x88,0x00,0x04,0x00,0x00]
9 bndmk 1024(%rax), %bnd1
10
11 // CHECK: bndmov  %bnd2, %bnd1
12 // CHECK: encoding: [0x66,0x0f,0x1b,0xd1]
13 bndmov %bnd2, %bnd1
14
15 // CHECK: bndmov %bnd1, 1024(%r9)
16 // CHECK: encoding: [0x66,0x49,0x0f,0x1b,0x89,0x00,0x04,0x00,0x00]
17 bndmov %bnd1, 1024(%r9)
18
19 // CHECK: bndstx %bnd1, 1024(%rax)
20 // CHECK: encoding: [0x0f,0x1b,0x88,0x00,0x04,0x00,0x00]
21 bndstx %bnd1, 1024(%rax)
22
23 // CHECK: bndldx 1024(%r8), %bnd1
24 // CHECK:  encoding: [0x41,0x0f,0x1a,0x88,0x00,0x04,0x00,0x00]
25 bndldx 1024(%r8), %bnd1
26
27 // CHECK: bndcl 121(%r10), %bnd1
28 // CHECK:  encoding: [0xf3,0x49,0x0f,0x1a,0x4a,0x79]
29 bndcl 121(%r10), %bnd1
30
31 // CHECK: bndcn 121(%rcx), %bnd3
32 // CHECK:  encoding: [0xf2,0x48,0x0f,0x1b,0x59,0x79]
33 bndcn 121(%rcx), %bnd3
34
35 // CHECK: bndcu %rdx, %bnd3
36 // CHECK:  encoding: [0xf2,0x48,0x0f,0x1a,0xda]
37 bndcu %rdx, %bnd3
38