2018-02-03 01:02:58 +08:00
|
|
|
// RUN: llvm-mc -triple x86_64-- --show-encoding %s |\
|
2016-07-14 22:53:21 +08:00
|
|
|
// RUN: FileCheck %s --check-prefixes=CHECK,ENCODING
|
|
|
|
|
2018-02-03 01:02:58 +08:00
|
|
|
// RUN: llvm-mc -triple x86_64-- -filetype=obj %s |\
|
|
|
|
// RUN: llvm-objdump -d - | FileCheck %s
|
2015-06-09 21:02:10 +08:00
|
|
|
|
|
|
|
// CHECK: bndmk (%rax), %bnd0
|
2018-04-28 14:02:40 +08:00
|
|
|
// ENCODING: encoding: [0xf3,0x0f,0x1b,0x00]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndmk (%rax), %bnd0
|
|
|
|
|
|
|
|
// CHECK: bndmk 1024(%rax), %bnd1
|
2018-04-28 14:02:40 +08:00
|
|
|
// ENCODING: encoding: [0xf3,0x0f,0x1b,0x88,0x00,0x04,0x00,0x00]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndmk 1024(%rax), %bnd1
|
|
|
|
|
|
|
|
// CHECK: bndmov %bnd2, %bnd1
|
2018-04-28 14:02:39 +08:00
|
|
|
// ENCODING: encoding: [0x66,0x0f,0x1a,0xca]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndmov %bnd2, %bnd1
|
|
|
|
|
|
|
|
// CHECK: bndmov %bnd1, 1024(%r9)
|
2018-04-28 14:02:40 +08:00
|
|
|
// ENCODING: encoding: [0x66,0x41,0x0f,0x1b,0x89,0x00,0x04,0x00,0x00]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndmov %bnd1, 1024(%r9)
|
|
|
|
|
|
|
|
// CHECK: bndstx %bnd1, 1024(%rax)
|
2016-07-14 22:53:21 +08:00
|
|
|
// ENCODING: encoding: [0x0f,0x1b,0x88,0x00,0x04,0x00,0x00]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndstx %bnd1, 1024(%rax)
|
|
|
|
|
|
|
|
// CHECK: bndldx 1024(%r8), %bnd1
|
2016-07-14 22:53:21 +08:00
|
|
|
// ENCODING: encoding: [0x41,0x0f,0x1a,0x88,0x00,0x04,0x00,0x00]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndldx 1024(%r8), %bnd1
|
|
|
|
|
|
|
|
// CHECK: bndcl 121(%r10), %bnd1
|
2018-04-28 14:02:40 +08:00
|
|
|
// ENCODING: encoding: [0xf3,0x41,0x0f,0x1a,0x4a,0x79]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndcl 121(%r10), %bnd1
|
|
|
|
|
|
|
|
// CHECK: bndcn 121(%rcx), %bnd3
|
2018-04-28 14:02:40 +08:00
|
|
|
// ENCODING: encoding: [0xf2,0x0f,0x1b,0x59,0x79]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndcn 121(%rcx), %bnd3
|
|
|
|
|
|
|
|
// CHECK: bndcu %rdx, %bnd3
|
2018-04-28 14:02:40 +08:00
|
|
|
// ENCODING: encoding: [0xf2,0x0f,0x1a,0xda]
|
2015-06-09 21:02:10 +08:00
|
|
|
bndcu %rdx, %bnd3
|