[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE / compact.s
bloba9b47dea246bee94cce10127ad26a2af63daebf4
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %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=+sve < %s \
8 // RUN: | llvm-objdump -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST
9 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
10 // RUN: | llvm-objdump -d --mattr=-sve - | FileCheck %s --check-prefix=CHECK-UNKNOWN
12 compact z31.s, p7, z31.s
13 // CHECK-INST: compact z31.s, p7, z31.s
14 // CHECK-ENCODING: [0xff,0x9f,0xa1,0x05]
15 // CHECK-ERROR: instruction requires: sve or sme2p2
16 // CHECK-UNKNOWN: 05a19fff <unknown>
18 compact z31.d, p7, z31.d
19 // CHECK-INST: compact z31.d, p7, z31.d
20 // CHECK-ENCODING: [0xff,0x9f,0xe1,0x05]
21 // CHECK-ERROR: instruction requires: sve or sme2p2
22 // CHECK-UNKNOWN: 05e19fff <unknown>