[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / armv8.5a-bti.s
blobca55516890c42c221ef352c58c760a49a4b7013e
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: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-bti < %s 2>&1 | FileCheck %s --check-prefix=NOBTI
5 bti
6 bti c
7 bti j
8 bti jc
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]
15 // NOBTI: instruction requires: bti
16 // NOBTI-NEXT: bti
17 // NOBTI: instruction requires: bti
18 // NOBTI-NEXT: bti
19 // NOBTI: instruction requires: bti
20 // NOBTI-NEXT: bti
21 // NOBTI: instruction requires: bti
22 // NOBTI-NEXT: bti
24 hint #32
25 hint #34
26 hint #36
27 hint #38
29 // CHECK: bti // encoding: [0x1f,0x24,0x03,0xd5]
30 // CHECK: bti c // encoding: [0x5f,0x24,0x03,0xd5]
31 // CHECK: bti j // encoding: [0x9f,0x24,0x03,0xd5]
32 // CHECK: bti jc // encoding: [0xdf,0x24,0x03,0xd5]
34 // NOBTI: hint #32 // encoding: [0x1f,0x24,0x03,0xd5]
35 // NOBTI: hint #34 // encoding: [0x5f,0x24,0x03,0xd5]
36 // NOBTI: hint #36 // encoding: [0x9f,0x24,0x03,0xd5]
37 // NOBTI: hint #38 // encoding: [0xdf,0x24,0x03,0xd5]