[AMDGPU] Add True16 register classes.
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2 / bgrp.s
blobfb96946dc3c53108ec77a09ff4304f6e17d9279e
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 bgrp z0.b, z1.b, z31.b
13 // CHECK-INST: bgrp z0.b, z1.b, z31.b
14 // CHECK-ENCODING: [0x20,0xb8,0x1f,0x45]
15 // CHECK-ERROR: instruction requires: sve2-bitperm
16 // CHECK-UNKNOWN: 451fb820 <unknown>
18 bgrp z0.h, z1.h, z31.h
19 // CHECK-INST: bgrp z0.h, z1.h, z31.h
20 // CHECK-ENCODING: [0x20,0xb8,0x5f,0x45]
21 // CHECK-ERROR: instruction requires: sve2-bitperm
22 // CHECK-UNKNOWN: 455fb820 <unknown>
24 bgrp z0.s, z1.s, z31.s
25 // CHECK-INST: bgrp z0.s, z1.s, z31.s
26 // CHECK-ENCODING: [0x20,0xb8,0x9f,0x45]
27 // CHECK-ERROR: instruction requires: sve2-bitperm
28 // CHECK-UNKNOWN: 459fb820 <unknown>
30 bgrp z0.d, z1.d, z31.d
31 // CHECK-INST: bgrp z0.d, z1.d, z31.d
32 // CHECK-ENCODING: [0x20,0xb8,0xdf,0x45]
33 // CHECK-ERROR: instruction requires: sve2-bitperm
34 // CHECK-UNKNOWN: 45dfb820 <unknown>