1 ; RUN
: not llvm-mc
-triple arm64-apple-darwin
-show-encoding
< %s
2> %t | FileCheck
%s
2 ; RUN
: FileCheck
--check-prefix
=CHECK-ERRORS
< %t %s
6 ; The first should encode as an expression. The second should error expecting
10 ; CHECK
: ldr x3
, foo+
4 ; encoding
: [0bAAA00011
,A,A,0x58]
11 ; CHECK
: ; fixup
A - offset
: 0, value
: foo+
4, kind
: fixup_aarch64_ldr_pcrel_imm19
12 ; CHECK-ERRORS
: error
: invalid operand for instruction
14 ; The last argument should
be flagged as an error. rdar
://9576009
15 ld4.8
b {v0
, v1
, v2
, v3
}, [x0
], #33
16 ; CHECK-ERRORS
: error
: invalid operand for instruction
17 ; CHECK-ERRORS
: ld4.8
b {v0
, v1
, v2
, v3
}, [x0
], #33
27 ldp w3
, w4
, [x5
, #11]!
28 ldp x3
, x4
, [x5
, #12]!
29 ldp q3
, q4
, [x5
, #12]!
36 ; CHECK-ERRORS
: error
: index must
be an integer in range
[-256, 255].
37 ; CHECK-ERRORS
: ldr x0
, [x0
, #804]
39 ; CHECK-ERRORS
: error
: index must
be an integer in range
[-256, 255].
40 ; CHECK-ERRORS
: ldr w0
, [x0
, #802]
42 ; CHECK-ERRORS
: error
: index must
be an integer in range
[-256, 255].
43 ; CHECK-ERRORS
: ldr x0
, [x0
, #804]!
45 ; CHECK-ERRORS
: error
: invalid operand for instruction
46 ; CHECK-ERRORS
: ldr w0
, [w0
, #301]!
48 ; CHECK-ERRORS
: error
: index must
be an integer in range
[-256, 255].
49 ; CHECK-ERRORS
: ldr x0
, [x0
], #804
51 ; CHECK-ERRORS
: error
: invalid operand for instruction
52 ; CHECK-ERRORS
: ldr w0
, [w0
], #301
54 ; CHECK-ERRORS
: error
: index must
be a multiple of
4 in range
[-256, 252].
55 ; CHECK-ERRORS
: ldp w3
, w4
, [x5
, #11]!
57 ; CHECK-ERRORS
: error
: index must
be a multiple of
8 in range
[-512, 504].
58 ; CHECK-ERRORS
: ldp x3
, x4
, [x5
, #12]!
60 ; CHECK-ERRORS
: error
: index must
be a multiple of
16 in range
[-1024, 1008].
61 ; CHECK-ERRORS
: ldp q3
, q4
, [x5
, #12]!
63 ; CHECK-ERRORS
: error
: index must
be a multiple of
4 in range
[-256, 252].
64 ; CHECK-ERRORS
: ldp w3
, w4
, [x5
], #11
66 ; CHECK-ERRORS
: error
: index must
be a multiple of
8 in range
[-512, 504].
67 ; CHECK-ERRORS
: ldp x3
, x4
, [x5
], #12
69 ; CHECK-ERRORS
: error
: index must
be a multiple of
16 in range
[-1024, 1008].
70 ; CHECK-ERRORS
: ldp q3
, q4
, [x5
], #12
72 ; CHECK-ERRORS
: error
: index must
be an integer in range
[-256, 255].
73 ; CHECK-ERRORS
: ldur x0
, [x1
, #-257]
77 ldrb w1
, [x3
, w3
, sxtw
#4]
78 ldrh w1
, [x3
, w3
, sxtw
#4]
79 ldr w1
, [x3
, w3
, sxtw
#4]
80 ldr x1
, [x3
, w3
, sxtw
#4]
81 ldr b1
, [x3
, w3
, sxtw
#4]
82 ldr h1
, [x3
, w3
, sxtw
#4]
83 ldr s1
, [x3
, w3
, sxtw
#4]
84 ldr d1
, [x3
, w3
, sxtw
#4]
85 ldr q1
, [x3
, w3
, sxtw
#1]
87 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0
88 ; CHECK-ERRORS
:ldrb w1
, [x3
, w3
, sxtw
#4]
90 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #1
91 ; CHECK-ERRORS
:ldrh w1
, [x3
, w3
, sxtw
#4]
93 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #2
94 ; CHECK-ERRORS
:ldr w1
, [x3
, w3
, sxtw
#4]
96 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #3
97 ; CHECK-ERRORS
:ldr x1
, [x3
, w3
, sxtw
#4]
99 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0
100 ; CHECK-ERRORS
:ldr b1
, [x3
, w3
, sxtw
#4]
102 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #1
103 ; CHECK-ERRORS
:ldr h1
, [x3
, w3
, sxtw
#4]
105 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #2
106 ; CHECK-ERRORS
:ldr s1
, [x3
, w3
, sxtw
#4]
108 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #3
109 ; CHECK-ERRORS
:ldr d1
, [x3
, w3
, sxtw
#4]
111 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #4
112 ; CHECK-ERRORS
:ldr q1
, [x3
, w3
, sxtw
#1]
115 ; Check that register offset addressing modes only accept
32-bit offset
116 ; registers when using uxtw
/sxtw extends. Everything else requires
a 64-bit
118 str d1
, [x3
, w3
, sxtx
#3]
119 ldr s1
, [x3
, d3
, sxtx
#2]
121 ; CHECK-ERRORS
: error
: expected
'uxtw' or 'sxtw' with optional shift of
#0 or #3
122 ; CHECK-ERRORS
: str d1
, [x3
, w3
, sxtx
#3]
124 ; CHECK-ERRORS
: error
: index must
be an integer in range
[-256, 255].
125 ; CHECK-ERRORS
: ldr s1
, [x3
, d3
, sxtx
#2]
128 ; Shift immediates range checking.
130 rshrn v9.8
b, v11.8h
, #17
131 sqrshrn v7.4h
, v8.4s
, #39
132 uqshrn2 v4.4s
, v5.2d
, #67
134 ; CHECK-ERRORS
: error
: immediate must
be an integer in range
[1, 8].
135 ; CHECK-ERRORS
: sqrshrn b4
, h9
, #10
137 ; CHECK-ERRORS
: error
: immediate must
be an integer in range
[1, 8].
138 ; CHECK-ERRORS
: rshrn v9.8
b, v11.8h
, #17
140 ; CHECK-ERRORS
: error
: immediate must
be an integer in range
[1, 16].
141 ; CHECK-ERRORS
: sqrshrn v7.4h
, v8.4s
, #39
143 ; CHECK-ERRORS
: error
: immediate must
be an integer in range
[1, 32].
144 ; CHECK-ERRORS
: uqshrn2 v4.4s
, v5.2d
, #67
148 st1.s4
{v14
, v15
}, [x2
], #32
149 ; CHECK-ERRORS
: error
: invalid type suffix for instruction
150 ; CHECK-ERRORS
: st1.s4
{v14
, v15
}, [x2
], #32
155 ; Load pair instructions where Rt
==Rt2
and writeback load
/store instructions
156 ; where Rt
==Rn
or Rt2
==Rn are unpredicatable.
157 ldp x1
, x2
, [x2
], #16
158 ldp x2
, x2
, [x2
], #16
159 ldp w1
, w2
, [x2
], #16
160 ldp w2
, w2
, [x2
], #16
163 ldp s1
, s1
, [x1
, #8]!
165 ldp d1
, d1
, [x1
], #16
166 ldp d1
, d1
, [x1
, #16]!
167 ldp d1
, d1
, [x1
, #16]
168 ldp q1
, q1
, [x1
], #32
169 ldp q1
, q1
, [x1
, #32]!
170 ldp q1
, q1
, [x1
, #32]
182 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, writeback base is also
a destination
183 ; CHECK-ERRORS
: ldp x1
, x2
, [x2
], #16
185 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, writeback base is also
a destination
186 ; CHECK-ERRORS
: ldp x2
, x2
, [x2
], #16
188 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, writeback base is also
a destination
189 ; CHECK-ERRORS
: ldp w1
, w2
, [x2
], #16
191 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, writeback base is also
a destination
192 ; CHECK-ERRORS
: ldp w2
, w2
, [x2
], #16
194 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
195 ; CHECK-ERRORS
: ldp x1
, x1
, [x2
]
197 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
198 ; CHECK-ERRORS
: ldp s1
, s1
, [x1
], #8
200 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
201 ; CHECK-ERRORS
: ldp s1
, s1
, [x1
, #8]!
203 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
204 ; CHECK-ERRORS
: ldp s1
, s1
, [x1
, #8]
206 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
207 ; CHECK-ERRORS
: ldp d1
, d1
, [x1
], #16
209 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
210 ; CHECK-ERRORS
: ldp d1
, d1
, [x1
, #16]!
212 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
213 ; CHECK-ERRORS
: ldp d1
, d1
, [x1
, #16]
215 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
216 ; CHECK-ERRORS
: ldp q1
, q1
, [x1
], #32
218 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
219 ; CHECK-ERRORS
: ldp q1
, q1
, [x1
, #32]!
221 ; CHECK-ERRORS
: error
: unpredictable LDP instruction
, Rt2
==Rt
222 ; CHECK-ERRORS
: ldp q1
, q1
, [x1
, #32]
224 ; CHECK-ERRORS
: error
: unpredictable LDR instruction
, writeback base is also
a source
225 ; CHECK-ERRORS
: ldr x2
, [x2
], #8
227 ; CHECK-ERRORS
: error
: unpredictable LDR instruction
, writeback base is also
a source
228 ; CHECK-ERRORS
: ldr x2
, [x2
, #8]!
230 ; CHECK-ERRORS
: error
: unpredictable LDR instruction
, writeback base is also
a source
231 ; CHECK-ERRORS
: ldr w2
, [x2
], #8
233 ; CHECK-ERRORS
: error
: unpredictable LDR instruction
, writeback base is also
a source
234 ; CHECK-ERRORS
: ldr w2
, [x2
, #8]!
236 ; CHECK-ERRORS
: error
: unpredictable STR instruction
, writeback base is also
a source
237 ; CHECK-ERRORS
: str x2
, [x2
], #8
239 ; CHECK-ERRORS
: error
: unpredictable STR instruction
, writeback base is also
a source
240 ; CHECK-ERRORS
: str x2
, [x2
, #8]!
242 ; CHECK-ERRORS
: error
: unpredictable STR instruction
, writeback base is also
a source
243 ; CHECK-ERRORS
: str w2
, [x2
], #8
245 ; CHECK-ERRORS
: error
: unpredictable STR instruction
, writeback base is also
a source
246 ; CHECK-ERRORS
: str w2
, [x2
, #8]!
249 ; Store exclusive instructions are unpredictable if the status register clashes
254 stlxrh wzr
, wzr
, [x13
]
259 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
260 ; CHECK-ERRORS
: stlxrb w1
, w1
, [x5
]
262 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
263 ; CHECK-ERRORS
: stxrb w3
, w5
, [x3
]
265 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
266 ; CHECK-ERRORS
: stxrh w7
, w9
, [x7
]
268 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
269 ; CHECK-ERRORS
: stlxrh wzr
, wzr
, [x13
]
271 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
272 ; CHECK-ERRORS
: stxr w9
, w9
, [x12
]
274 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
275 ; CHECK-ERRORS
: stlxr w22
, x1
, [x22
]
277 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
278 ; CHECK-ERRORS
: stxr w4
, x4
, [x9
]
280 ; CHECK-ERRORS
: error
: unpredictable STXR instruction
, status is also
a source
281 ; CHECK-ERRORS
: stlxr w5
, x0
, [x5
]
284 stxp w0
, w0
, w1
, [x3
]
285 stxp w0
, w1
, w0
, [x5
]
286 stxp w10
, w4
, w5
, [x10
]
287 stxp wzr
, xzr
, x4
, [x5
]
288 stxp w3
, x5
, x3
, [sp
]
289 stxp w25
, x4
, x2
, [x25
]
290 ; CHECK-ERRORS
: error
: unpredictable STXP instruction
, status is also
a source
291 ; CHECK-ERRORS
: stxp w0
, w0
, w1
, [x3
]
293 ; CHECK-ERRORS
: error
: unpredictable STXP instruction
, status is also
a source
294 ; CHECK-ERRORS
: stxp w0
, w1
, w0
, [x5
]
296 ; CHECK-ERRORS
: error
: unpredictable STXP instruction
, status is also
a source
297 ; CHECK-ERRORS
: stxp w10
, w4
, w5
, [x10
]
299 ; CHECK-ERRORS
: error
: unpredictable STXP instruction
, status is also
a source
300 ; CHECK-ERRORS
: stxp wzr
, xzr
, x4
, [x5
]
302 ; CHECK-ERRORS
: error
: unpredictable STXP instruction
, status is also
a source
303 ; CHECK-ERRORS
: stxp w3
, x5
, x3
, [sp
]
305 ; CHECK-ERRORS
: error
: unpredictable STXP instruction
, status is also
a source
306 ; CHECK-ERRORS
: stxp w25
, x4
, x2
, [x25
]
310 ; The validity checking for shifted-immediate operands. rdar
://13174476
311 ; Where the immediate is out of range.
312 add w1
, w2
, w3
, lsr
#75
314 ; CHECK-ERRORS
: error
: expected
'sxtx' 'uxtx' or 'lsl' with optional integer in range
[0, 4]
315 ; CHECK-ERRORS
: add w1
, w2
, w3
, lsr
#75
318 ; logical instructions on
32-bit regs with shift
> 31 is
not legal
319 orr w0
, w0
, w0
, lsl
#32
320 ; CHECK-ERRORS
: error
: expected
'lsl', 'lsr' or 'asr' with optional integer in range
[0, 31]
321 ; CHECK-ERRORS
: orr w0
, w0
, w0
, lsl
#32
323 eor w0
, w0
, w0
, lsl
#32
324 ; CHECK-ERRORS
: error
: expected
'lsl', 'lsr' or 'asr' with optional integer in range
[0, 31]
325 ; CHECK-ERRORS
: eor w0
, w0
, w0
, lsl
#32
327 and w0
, w0
, w0
, lsl
#32
328 ; CHECK-ERRORS
: error
: expected
'lsl', 'lsr' or 'asr' with optional integer in range
[0, 31]
329 ; CHECK-ERRORS
: and w0
, w0
, w0
, lsl
#32
331 ands w0
, w0
, w0
, lsl
#32
332 ; CHECK-ERRORS
: error
: expected
'lsl', 'lsr' or 'asr' with optional integer in range
[0, 31]
333 ; CHECK-ERRORS
: ands w0
, w0
, w0
, lsl
#32
336 ; Relocated expressions should
not be accepted for
32-bit adds
or sub (imm
)
337 add w3
, w5
, sym@PAGEOFF
338 ; CHECK-ERRORS
: error
: invalid immediate expression
339 ; CHECK-ERRORS
: add w3
, w5
, sym@PAGEOFF
342 adds w3
, w5
, sym@PAGEOFF
343 adds x9
, x12
, sym@PAGEOFF
344 ; CHECK-ERRORS
: error
: invalid immediate expression
345 ; CHECK-ERRORS
: adds w3
, w5
, sym@PAGEOFF
347 ; CHECK-ERRORS
: error
: invalid immediate expression
348 ; CHECK-ERRORS
: adds x9
, x12
, sym@PAGEOFF
351 sub x3
, x5
, sym@PAGEOFF
352 sub w20
, w30
, sym@PAGEOFF
353 ; CHECK-ERRORS
: error
: invalid immediate expression
354 ; CHECK-ERRORS
: sub x3
, x5
, sym@PAGEOFF
356 ; CHECK-ERRORS
: error
: invalid immediate expression
357 ; CHECK-ERRORS
: sub w20
, w30
, sym@PAGEOFF
360 subs w9
, w10
, sym@PAGEOFF
361 subs x20
, x30
, sym@PAGEOFF
362 ; CHECK-ERRORS
: error
: invalid immediate expression
363 ; CHECK-ERRORS
: subs w9
, w10
, sym@PAGEOFF
365 ; CHECK-ERRORS
: error
: invalid immediate expression
366 ; CHECK-ERRORS
: subs x20
, x30
, sym@PAGEOFF
369 tbl v0.8
b, { v1
}, v0.8
b
370 tbl v0.16
b, { v1.8
b, v2.8
b, v3.8
b }, v0.16
b
371 tbx v3.16
b, { v12.8
b, v13.8
b, v14.8
b }, v6.8
b
372 tbx v2.8
b, { v0
}, v6.8
b
373 ; CHECK-ERRORS
: error
: invalid operand for instruction
374 ; CHECK-ERRORS
: tbl v0.8
b, { v1
}, v0.8
b
376 ; CHECK-ERRORS
: error
: invalid operand for instruction
377 ; CHECK-ERRORS
: tbl v0.16
b, { v1.8
b, v2.8
b, v3.8
b }, v0.16
b
379 ; CHECK-ERRORS
: error
: invalid operand for instruction
380 ; CHECK-ERRORS
: tbx v3.16
b, { v12.8
b, v13.8
b, v14.8
b }, v6.8
b
382 ; CHECK-ERRORS
: error
: invalid operand for instruction
383 ; CHECK-ERRORS
: tbx v2.8
b, { v0
}, v6.8
b
387 ; CHECK-ERRORS
: error
: invalid condition code
388 ; CHECK-ERRORS
: b.c
#0x4
392 ; CHECK-ERRORS
: error
: specified ic op does
not use
a register
394 ; CHECK-ERRORS
: error
: specified ic op does
not use
a register
396 ; CHECK-ERRORS
: error
: specified ic op requires
a register
399 ; CHECK-ERRORS
: error
: specified dc op requires
a register
401 ; CHECK-ERRORS
: error
: specified dc op requires
a register
403 ; CHECK-ERRORS
: error
: specified dc op requires
a register
405 ; CHECK-ERRORS
: error
: specified dc op requires
a register
407 ; CHECK-ERRORS
: error
: specified dc op requires
a register
409 ; CHECK-ERRORS
: error
: specified dc op requires
a register
411 ; CHECK-ERRORS
: error
: specified dc op requires
a register
413 ; CHECK-ERRORS
: error
: specified dc op requires
a register
416 ; CHECK-ERRORS
: error
: specified at op requires
a register
418 ; CHECK-ERRORS
: error
: specified at op requires
a register
420 ; CHECK-ERRORS
: error
: specified at op requires
a register
422 ; CHECK-ERRORS
: error
: specified at op requires
a register
424 ; CHECK-ERRORS
: error
: specified at op requires
a register
426 ; CHECK-ERRORS
: error
: specified at op requires
a register
428 ; CHECK-ERRORS
: error
: specified at op requires
a register
430 ; CHECK-ERRORS
: error
: specified at op requires
a register
432 ; CHECK-ERRORS
: error
: specified at op requires
a register
434 ; CHECK-ERRORS
: error
: specified at op requires
a register
436 ; CHECK-ERRORS
: error
: specified at op requires
a register
438 ; CHECK-ERRORS
: error
: specified at op requires
a register
441 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
443 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
445 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
447 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
449 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
451 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
453 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
455 ; CHECK-ERRORS
: error
: specified
tlbi op does
not use
a register
457 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
459 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
461 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
463 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
465 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
467 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
469 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
471 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
473 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
475 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
477 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
479 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
481 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
483 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
485 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
487 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
489 ; CHECK-ERRORS
: error
: specified
tlbi op requires
a register
492 ; Check that we give the proper
"too few operands" diagnostic even when
493 ; using short-form NEON.
495 add.16
b v0
, v1
, v2
, v3
501 ; CHECK-ERRORS
: error
: invalid operand for instruction
502 ; CHECK-ERRORS
: add.16
b v0
, v1
, v2
, v3
504 ; CHECK-ERRORS
: error
: too few operands for instruction
505 ; CHECK-ERRORS
: add.8
b v0
, v1
507 ; CHECK-ERRORS
: error
: too few operands for instruction
508 ; CHECK-ERRORS
: sub.8h v0
, v1
510 ; CHECK-ERRORS
: error
: too few operands for instruction
511 ; CHECK-ERRORS
: fadd.4s v0
513 ; CHECK-ERRORS
: error
: too few operands for instruction
514 ; CHECK-ERRORS
: fmul.2s
517 ; Also for
2-operand instructions.
519 frsqrte.4s v0
, v1
, v2
523 ; CHECK-ERRORS
: error
: invalid operand for instruction
524 ; CHECK-ERRORS
: frsqrte.4s v0
, v1
, v2
526 ; CHECK-ERRORS
: error
: too few operands for instruction
527 ; CHECK-ERRORS
: frsqrte.2s v0
529 ; CHECK-ERRORS
: error
: too few operands for instruction
530 ; CHECK-ERRORS
: frecpe.2d
533 ;
And check that we do the same for non-NEON instructions.
538 ; CHECK-ERRORS
: error
: too few operands for instruction
541 ; CHECK-ERRORS
: error
: invalid operand for instruction
542 ; CHECK-ERRORS
: b.eq
0, 0
545 ; Check that we give the proper
"too few operands" diagnostic instead of
550 ; CHECK-ERRORS
: error
: too few operands for instruction