[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE / ldff1sw.s
blob1896bcdecdb8f49889567297da1fcf7cc1c7b6b7
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 --no-print-imm-hex -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST
9 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
10 // RUN: | llvm-objdump --no-print-imm-hex -d --mattr=-sve - | FileCheck %s --check-prefix=CHECK-UNKNOWN
12 ldff1sw { z31.d }, p7/z, [sp]
13 // CHECK-INST: ldff1sw { z31.d }, p7/z, [sp]
14 // CHECK-ENCODING: [0xff,0x7f,0x9f,0xa4]
15 // CHECK-ERROR: instruction requires: sve
16 // CHECK-UNKNOWN: a49f7fff <unknown>
18 ldff1sw { z31.d }, p7/z, [sp, xzr, lsl #2]
19 // CHECK-INST: ldff1sw { z31.d }, p7/z, [sp]
20 // CHECK-ENCODING: [0xff,0x7f,0x9f,0xa4]
21 // CHECK-ERROR: instruction requires: sve
22 // CHECK-UNKNOWN: a49f7fff <unknown>
24 ldff1sw { z0.d }, p0/z, [x0, x0, lsl #2]
25 // CHECK-INST: ldff1sw { z0.d }, p0/z, [x0, x0, lsl #2]
26 // CHECK-ENCODING: [0x00,0x60,0x80,0xa4]
27 // CHECK-ERROR: instruction requires: sve
28 // CHECK-UNKNOWN: a4806000 <unknown>
30 ldff1sw { z31.d }, p7/z, [sp, z31.d]
31 // CHECK-INST: ldff1sw { z31.d }, p7/z, [sp, z31.d]
32 // CHECK-ENCODING: [0xff,0xbf,0x5f,0xc5]
33 // CHECK-ERROR: instruction requires: sve
34 // CHECK-UNKNOWN: c55fbfff <unknown>
36 ldff1sw { z23.d }, p3/z, [x13, z8.d, lsl #2]
37 // CHECK-INST: ldff1sw { z23.d }, p3/z, [x13, z8.d, lsl #2]
38 // CHECK-ENCODING: [0xb7,0xad,0x68,0xc5]
39 // CHECK-ERROR: instruction requires: sve
40 // CHECK-UNKNOWN: c568adb7 <unknown>
42 ldff1sw { z21.d }, p5/z, [x10, z21.d, uxtw]
43 // CHECK-INST: ldff1sw { z21.d }, p5/z, [x10, z21.d, uxtw]
44 // CHECK-ENCODING: [0x55,0x35,0x15,0xc5]
45 // CHECK-ERROR: instruction requires: sve
46 // CHECK-UNKNOWN: c5153555 <unknown>
48 ldff1sw { z21.d }, p5/z, [x10, z21.d, sxtw]
49 // CHECK-INST: ldff1sw { z21.d }, p5/z, [x10, z21.d, sxtw]
50 // CHECK-ENCODING: [0x55,0x35,0x55,0xc5]
51 // CHECK-ERROR: instruction requires: sve
52 // CHECK-UNKNOWN: c5553555 <unknown>
54 ldff1sw { z0.d }, p0/z, [x0, z0.d, uxtw #2]
55 // CHECK-INST: ldff1sw { z0.d }, p0/z, [x0, z0.d, uxtw #2]
56 // CHECK-ENCODING: [0x00,0x20,0x20,0xc5]
57 // CHECK-ERROR: instruction requires: sve
58 // CHECK-UNKNOWN: c5202000 <unknown>
60 ldff1sw { z0.d }, p0/z, [x0, z0.d, sxtw #2]
61 // CHECK-INST: ldff1sw { z0.d }, p0/z, [x0, z0.d, sxtw #2]
62 // CHECK-ENCODING: [0x00,0x20,0x60,0xc5]
63 // CHECK-ERROR: instruction requires: sve
64 // CHECK-UNKNOWN: c5602000 <unknown>
66 ldff1sw { z31.d }, p7/z, [z31.d, #124]
67 // CHECK-INST: ldff1sw { z31.d }, p7/z, [z31.d, #124]
68 // CHECK-ENCODING: [0xff,0xbf,0x3f,0xc5]
69 // CHECK-ERROR: instruction requires: sve
70 // CHECK-UNKNOWN: c53fbfff <unknown>
72 ldff1sw { z0.d }, p0/z, [z0.d]
73 // CHECK-INST: ldff1sw { z0.d }, p0/z, [z0.d]
74 // CHECK-ENCODING: [0x00,0xa0,0x20,0xc5]
75 // CHECK-ERROR: instruction requires: sve
76 // CHECK-UNKNOWN: c520a000 <unknown>