1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+bti < %s | FileCheck %s 2// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s | FileCheck %s 3// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-bti < %s | FileCheck %s --check-prefix=NOBTI 4 5bti 6bti c 7bti j 8bti jc 9 10// CHECK: bti // encoding: [0x1f,0x24,0x03,0xd5] 11// CHECK: bti c // encoding: [0x5f,0x24,0x03,0xd5] 12// CHECK: bti j // encoding: [0x9f,0x24,0x03,0xd5] 13// CHECK: bti jc // encoding: [0xdf,0x24,0x03,0xd5] 14 15// NOBTI: hint #32 // encoding: [0x1f,0x24,0x03,0xd5] 16// NOBTI: hint #34 // encoding: [0x5f,0x24,0x03,0xd5] 17// NOBTI: hint #36 // encoding: [0x9f,0x24,0x03,0xd5] 18// NOBTI: hint #38 // encoding: [0xdf,0x24,0x03,0xd5] 19 20hint #32 21hint #34 22hint #36 23hint #38 24 25// CHECK: bti // encoding: [0x1f,0x24,0x03,0xd5] 26// CHECK: bti c // encoding: [0x5f,0x24,0x03,0xd5] 27// CHECK: bti j // encoding: [0x9f,0x24,0x03,0xd5] 28// CHECK: bti jc // encoding: [0xdf,0x24,0x03,0xd5] 29 30// NOBTI: hint #32 // encoding: [0x1f,0x24,0x03,0xd5] 31// NOBTI: hint #34 // encoding: [0x5f,0x24,0x03,0xd5] 32// NOBTI: hint #36 // encoding: [0x9f,0x24,0x03,0xd5] 33// NOBTI: hint #38 // encoding: [0xdf,0x24,0x03,0xd5] 34