[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2 / bdep.s
bloba6ef95d9f261948744f516b5643a41a01798a145
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2-bitperm < %s \
2 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
4 // RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s 2>&1 \
6 // RUN: | FileCheck %s --check-prefix=CHECK-ERROR
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2-bitperm < %s \
8 // RUN: | llvm-objdump -d --mattr=+sve2-bitperm - | FileCheck %s --check-prefix=CHECK-INST
9 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2-bitperm < %s \
10 // RUN: | llvm-objdump -d --mattr=-sve2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
12 bdep z0.b, z1.b, z31.b
13 // CHECK-INST: bdep z0.b, z1.b, z31.b
14 // CHECK-ENCODING: [0x20,0xb4,0x1f,0x45]
15 // CHECK-ERROR: instruction requires: sve2-bitperm
16 // CHECK-UNKNOWN: 451fb420 <unknown>
18 bdep z0.h, z1.h, z31.h
19 // CHECK-INST: bdep z0.h, z1.h, z31.h
20 // CHECK-ENCODING: [0x20,0xb4,0x5f,0x45]
21 // CHECK-ERROR: instruction requires: sve2-bitperm
22 // CHECK-UNKNOWN: 455fb420 <unknown>
24 bdep z0.s, z1.s, z31.s
25 // CHECK-INST: bdep z0.s, z1.s, z31.s
26 // CHECK-ENCODING: [0x20,0xb4,0x9f,0x45]
27 // CHECK-ERROR: instruction requires: sve2-bitperm
28 // CHECK-UNKNOWN: 459fb420 <unknown>
30 bdep z0.d, z1.d, z31.d
31 // CHECK-INST: bdep z0.d, z1.d, z31.d
32 // CHECK-ENCODING: [0x20,0xb4,0xdf,0x45]
33 // CHECK-ERROR: instruction requires: sve2-bitperm
34 // CHECK-UNKNOWN: 45dfb420 <unknown>