[clang-format] Rename ExportBlockIndentation -> IndentExportBlock (#123493)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE / ldff1w.s
blob1a5b55932f50d5c371ad8537ae03e8a67165f38a
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 ldff1w { z31.d }, p7/z, [sp]
13 // CHECK-INST: ldff1w { z31.d }, p7/z, [sp]
14 // CHECK-ENCODING: [0xff,0x7f,0x7f,0xa5]
15 // CHECK-ERROR: instruction requires: sve
16 // CHECK-UNKNOWN: a57f7fff <unknown>
18 ldff1w { z31.s }, p7/z, [sp]
19 // CHECK-INST: ldff1w { z31.s }, p7/z, [sp]
20 // CHECK-ENCODING: [0xff,0x7f,0x5f,0xa5]
21 // CHECK-ERROR: instruction requires: sve
22 // CHECK-UNKNOWN: a55f7fff <unknown>
24 ldff1w { z31.d }, p7/z, [sp, xzr, lsl #2]
25 // CHECK-INST: ldff1w { z31.d }, p7/z, [sp]
26 // CHECK-ENCODING: [0xff,0x7f,0x7f,0xa5]
27 // CHECK-ERROR: instruction requires: sve
28 // CHECK-UNKNOWN: a57f7fff <unknown>
30 ldff1w { z31.s }, p7/z, [sp, xzr, lsl #2]
31 // CHECK-INST: ldff1w { z31.s }, p7/z, [sp]
32 // CHECK-ENCODING: [0xff,0x7f,0x5f,0xa5]
33 // CHECK-ERROR: instruction requires: sve
34 // CHECK-UNKNOWN: a55f7fff <unknown>
36 ldff1w { z0.s }, p0/z, [x0, x0, lsl #2]
37 // CHECK-INST: ldff1w { z0.s }, p0/z, [x0, x0, lsl #2]
38 // CHECK-ENCODING: [0x00,0x60,0x40,0xa5]
39 // CHECK-ERROR: instruction requires: sve
40 // CHECK-UNKNOWN: a5406000 <unknown>
42 ldff1w { z0.d }, p0/z, [x0, x0, lsl #2]
43 // CHECK-INST: ldff1w { z0.d }, p0/z, [x0, x0, lsl #2]
44 // CHECK-ENCODING: [0x00,0x60,0x60,0xa5]
45 // CHECK-ERROR: instruction requires: sve
46 // CHECK-UNKNOWN: a5606000 <unknown>
48 ldff1w { z0.s }, p0/z, [x0, z0.s, uxtw]
49 // CHECK-INST: ldff1w { z0.s }, p0/z, [x0, z0.s, uxtw]
50 // CHECK-ENCODING: [0x00,0x60,0x00,0x85]
51 // CHECK-ERROR: instruction requires: sve
52 // CHECK-UNKNOWN: 85006000 <unknown>
54 ldff1w { z0.s }, p0/z, [x0, z0.s, sxtw]
55 // CHECK-INST: ldff1w { z0.s }, p0/z, [x0, z0.s, sxtw]
56 // CHECK-ENCODING: [0x00,0x60,0x40,0x85]
57 // CHECK-ERROR: instruction requires: sve
58 // CHECK-UNKNOWN: 85406000 <unknown>
60 ldff1w { z31.s }, p7/z, [sp, z31.s, uxtw #2]
61 // CHECK-INST: ldff1w { z31.s }, p7/z, [sp, z31.s, uxtw #2]
62 // CHECK-ENCODING: [0xff,0x7f,0x3f,0x85]
63 // CHECK-ERROR: instruction requires: sve
64 // CHECK-UNKNOWN: 853f7fff <unknown>
66 ldff1w { z31.s }, p7/z, [sp, z31.s, sxtw #2]
67 // CHECK-INST: ldff1w { z31.s }, p7/z, [sp, z31.s, sxtw #2]
68 // CHECK-ENCODING: [0xff,0x7f,0x7f,0x85]
69 // CHECK-ERROR: instruction requires: sve
70 // CHECK-UNKNOWN: 857f7fff <unknown>
72 ldff1w { z31.d }, p7/z, [sp, z31.d]
73 // CHECK-INST: ldff1w { z31.d }, p7/z, [sp, z31.d]
74 // CHECK-ENCODING: [0xff,0xff,0x5f,0xc5]
75 // CHECK-ERROR: instruction requires: sve
76 // CHECK-UNKNOWN: c55fffff <unknown>
78 ldff1w { z23.d }, p3/z, [x13, z8.d, lsl #2]
79 // CHECK-INST: ldff1w { z23.d }, p3/z, [x13, z8.d, lsl #2]
80 // CHECK-ENCODING: [0xb7,0xed,0x68,0xc5]
81 // CHECK-ERROR: instruction requires: sve
82 // CHECK-UNKNOWN: c568edb7 <unknown>
84 ldff1w { z21.d }, p5/z, [x10, z21.d, uxtw]
85 // CHECK-INST: ldff1w { z21.d }, p5/z, [x10, z21.d, uxtw]
86 // CHECK-ENCODING: [0x55,0x75,0x15,0xc5]
87 // CHECK-ERROR: instruction requires: sve
88 // CHECK-UNKNOWN: c5157555 <unknown>
90 ldff1w { z21.d }, p5/z, [x10, z21.d, sxtw]
91 // CHECK-INST: ldff1w { z21.d }, p5/z, [x10, z21.d, sxtw]
92 // CHECK-ENCODING: [0x55,0x75,0x55,0xc5]
93 // CHECK-ERROR: instruction requires: sve
94 // CHECK-UNKNOWN: c5557555 <unknown>
96 ldff1w { z0.d }, p0/z, [x0, z0.d, uxtw #2]
97 // CHECK-INST: ldff1w { z0.d }, p0/z, [x0, z0.d, uxtw #2]
98 // CHECK-ENCODING: [0x00,0x60,0x20,0xc5]
99 // CHECK-ERROR: instruction requires: sve
100 // CHECK-UNKNOWN: c5206000 <unknown>
102 ldff1w { z0.d }, p0/z, [x0, z0.d, sxtw #2]
103 // CHECK-INST: ldff1w { z0.d }, p0/z, [x0, z0.d, sxtw #2]
104 // CHECK-ENCODING: [0x00,0x60,0x60,0xc5]
105 // CHECK-ERROR: instruction requires: sve
106 // CHECK-UNKNOWN: c5606000 <unknown>
108 ldff1w { z31.s }, p7/z, [z31.s, #124]
109 // CHECK-INST: ldff1w { z31.s }, p7/z, [z31.s, #124]
110 // CHECK-ENCODING: [0xff,0xff,0x3f,0x85]
111 // CHECK-ERROR: instruction requires: sve
112 // CHECK-UNKNOWN: 853fffff <unknown>
114 ldff1w { z0.s }, p0/z, [z0.s]
115 // CHECK-INST: ldff1w { z0.s }, p0/z, [z0.s]
116 // CHECK-ENCODING: [0x00,0xe0,0x20,0x85]
117 // CHECK-ERROR: instruction requires: sve
118 // CHECK-UNKNOWN: 8520e000 <unknown>
120 ldff1w { z31.d }, p7/z, [z31.d, #124]
121 // CHECK-INST: ldff1w { z31.d }, p7/z, [z31.d, #124]
122 // CHECK-ENCODING: [0xff,0xff,0x3f,0xc5]
123 // CHECK-ERROR: instruction requires: sve
124 // CHECK-UNKNOWN: c53fffff <unknown>
126 ldff1w { z0.d }, p0/z, [z0.d]
127 // CHECK-INST: ldff1w { z0.d }, p0/z, [z0.d]
128 // CHECK-ENCODING: [0x00,0xe0,0x20,0xc5]
129 // CHECK-ERROR: instruction requires: sve
130 // CHECK-UNKNOWN: c520e000 <unknown>