[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SME / revd.s
blobad8a6cf9deb1a30646435ebbf1145d36bf57d282
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %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: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme < %s \
6 // RUN: | llvm-objdump -d --mattr=+sme - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme < %s \
8 // RUN: | llvm-objdump -d --mattr=-sme - | FileCheck %s --check-prefix=CHECK-UNKNOWN
9 // Disassemble encoding and check the re-encoding (-show-encoding) matches.
10 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s \
11 // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
12 // RUN: | llvm-mc -triple=aarch64 -mattr=+sme -disassemble -show-encoding \
13 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
15 revd z0.q, p0/m, z0.q
16 // CHECK-INST: revd z0.q, p0/m, z0.q
17 // CHECK-ENCODING: [0x00,0x80,0x2e,0x05]
18 // CHECK-ERROR: instruction requires: sme
19 // CHECK-UNKNOWN: 052e8000 <unknown>
21 revd z21.q, p5/m, z10.q
22 // CHECK-INST: revd z21.q, p5/m, z10.q
23 // CHECK-ENCODING: [0x55,0x95,0x2e,0x05]
24 // CHECK-ERROR: instruction requires: sme
25 // CHECK-UNKNOWN: 052e9555 <unknown>
27 revd z23.q, p3/m, z13.q
28 // CHECK-INST: revd z23.q, p3/m, z13.q
29 // CHECK-ENCODING: [0xb7,0x8d,0x2e,0x05]
30 // CHECK-ERROR: instruction requires: sme
31 // CHECK-UNKNOWN: 052e8db7 <unknown>
33 revd z31.q, p7/m, z31.q
34 // CHECK-INST: revd z31.q, p7/m, z31.q
35 // CHECK-ENCODING: [0xff,0x9f,0x2e,0x05]
36 // CHECK-ERROR: instruction requires: sme
37 // CHECK-UNKNOWN: 052e9fff <unknown>