[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / AArch64 / armv8.3a-complex_bad.s
blobcdc023445ca077e4bbf9c4fd3b3e5ead6c52ea6a
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
18 //CHECK-NEXT: ^
19 //CHECK-NEXT: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
20 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #360
21 //CHECK-NEXT: ^
22 //CHECK-NEXT: {{.*}}error: complex rotation must be 0, 90, 180 or 270.
23 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #-90
24 //CHECK-NEXT: ^
25 //CHECK-NEXT: {{.*}}error: complex rotation must be 90 or 270.
26 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #1
27 //CHECK-NEXT: ^
28 //CHECK-NEXT: {{.*}}error: complex rotation must be 90 or 270.
29 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #360
30 //CHECK-NEXT: ^
31 //CHECK-NEXT: {{.*}}error: complex rotation must be 90 or 270.
32 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #-90
33 //CHECK-NEXT: ^
34 //CHECK-NEXT: {{.*}}error: complex rotation must be 90 or 270.
35 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #0
36 //CHECK-NEXT: ^
37 //CHECK-NEXT: {{.*}}error: complex rotation must be 90 or 270.
38 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #180
39 //CHECK-NEXT: ^
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
42 //CHECK-NEXT: ^
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
45 //CHECK-NEXT: ^
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
48 //CHECK-NEXT: ^
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
51 //CHECK-NEXT: ^
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
54 //CHECK-NEXT: ^
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
57 //CHECK-NEXT: ^