[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SME / addspl.s
blobb5527dc98be9a4d1302ec1321e3678911ff2634f
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 --no-print-imm-hex -d --mattr=+sme - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme < %s \
8 // RUN: | llvm-objdump --no-print-imm-hex -d --mattr=-sme - | FileCheck %s --check-prefix=CHECK-UNKNOWN
10 addspl x21, x21, #0
11 // CHECK-INST: addspl x21, x21, #0
12 // CHECK-ENCODING: [0x15,0x58,0x75,0x04]
13 // CHECK-ERROR: instruction requires: sme
14 // CHECK-UNKNOWN: 04755815 <unknown>
16 addspl x23, x8, #-1
17 // CHECK-INST: addspl x23, x8, #-1
18 // CHECK-ENCODING: [0xf7,0x5f,0x68,0x04]
19 // CHECK-ERROR: instruction requires: sme
20 // CHECK-UNKNOWN: 04685ff7 <unknown>
22 addspl sp, sp, #31
23 // CHECK-INST: addspl sp, sp, #31
24 // CHECK-ENCODING: [0xff,0x5b,0x7f,0x04]
25 // CHECK-ERROR: instruction requires: sme
26 // CHECK-UNKNOWN: 047f5bff <unknown>
28 addspl x0, x0, #-32
29 // CHECK-INST: addspl x0, x0, #-32
30 // CHECK-ENCODING: [0x00,0x5c,0x60,0x04]
31 // CHECK-ERROR: instruction requires: sme
32 // CHECK-UNKNOWN: 04605c00 <unknown>