1 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+complxnum
,+fullfp16
-o
- %s
2>&1 | FileCheck
%s
2 fcmla v0.2s
, v1.2s
, v2.2s
, #1
3 fcmla v0.2s
, v1.2s
, v2.2s
, #360
4 fcmla v0.2s
, v1.2s
, v2.2s
, #-90
5 fcadd v0.2s
, v1.2s
, v2.2s
, #1
6 fcadd v0.2s
, v1.2s
, v2.2s
, #360
7 fcadd v0.2s
, v1.2s
, v2.2s
, #-90
8 fcadd v0.2s
, v1.2s
, v2.2s
, #0
9 fcadd v0.2s
, v1.2s
, v2.2s
, #180
10 fcmla v0.4h
, v1.4h
, v2.h
[2], #0
11 fcmla v0.8h
, v1.8h
, v2.h
[4], #0
12 fcmla v0.4s
, v1.4s
, v2.s
[2], #0
13 fcmla v0.4s
, v1.4s
, v2.s
[0], #1
14 fcmla v0.4s
, v1.4s
, v2.s
[0], #360
15 fcmla v0.4s
, v1.4s
, v2.s
[0], #-90
16 //CHECK
: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
17 //CHECK-NEXT
: fcmla v0.2s
, v1.2s
, v2.2s
, #1
19 //CHECK-NEXT
: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
20 //CHECK-NEXT
: fcmla v0.2s
, v1.2s
, v2.2s
, #360
22 //CHECK-NEXT
: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
23 //CHECK-NEXT
: fcmla v0.2s
, v1.2s
, v2.2s
, #-90
25 //CHECK-NEXT
: {{.*}}error: complex rotation must be 90 or 270.
26 //CHECK-NEXT
: fcadd v0.2s
, v1.2s
, v2.2s
, #1
28 //CHECK-NEXT
: {{.*}}error: complex rotation must be 90 or 270.
29 //CHECK-NEXT
: fcadd v0.2s
, v1.2s
, v2.2s
, #360
31 //CHECK-NEXT
: {{.*}}error: complex rotation must be 90 or 270.
32 //CHECK-NEXT
: fcadd v0.2s
, v1.2s
, v2.2s
, #-90
34 //CHECK-NEXT
: {{.*}}error: complex rotation must be 90 or 270.
35 //CHECK-NEXT
: fcadd v0.2s
, v1.2s
, v2.2s
, #0
37 //CHECK-NEXT
: {{.*}}error: complex rotation must be 90 or 270.
38 //CHECK-NEXT
: fcadd v0.2s
, v1.2s
, v2.2s
, #180
40 //CHECK-NEXT
: {{.*}}error: vector lane must be an integer in range [0, 1].
41 //CHECK-NEXT
: fcmla v0.4h
, v1.4h
, v2.h
[2], #0
43 //CHECK-NEXT
: {{.*}}error: vector lane must be an integer in range [0, 3].
44 //CHECK-NEXT
: fcmla v0.8h
, v1.8h
, v2.h
[4], #0
46 //CHECK-NEXT
: {{.*}}error: vector lane must be an integer in range [0, 1].
47 //CHECK-NEXT
: fcmla v0.4s
, v1.4s
, v2.s
[2], #0
49 //CHECK-NEXT
: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
50 //CHECK-NEXT
: fcmla v0.4s
, v1.4s
, v2.s
[0], #1
52 //CHECK-NEXT
: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
53 //CHECK-NEXT
: fcmla v0.4s
, v1.4s
, v2.s
[0], #360
55 //CHECK-NEXT
: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
56 //CHECK-NEXT
: fcmla v0.4s
, v1.4s
, v2.s
[0], #-90