1 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=-neon < %s 2> %t
2 // RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s
4 // RUN: not llvm-mc -triple arm64-none-linux-gnu -mattr=-neon < %s 2> %t
5 // RUN: FileCheck --check-prefix=CHECK-ARM64-ERROR < %t %s
7 fmla v3.4s, v12.4s, v17.4s
8 fmla v1.2d, v30.2d, v20.2d
9 fmla v9.2s, v9.2s, v0.2s
10 // CHECK-ERROR: error: instruction requires a CPU feature not currently enabled
11 // CHECK-ERROR-NEXT: fmla v3.4s, v12.4s, v17.4s
12 // CHECK-ERROR-NEXT: ^
13 // CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
14 // CHECK-ERROR-NEXT: fmla v1.2d, v30.2d, v20.2d
15 // CHECK-ERROR-NEXT: ^
16 // CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
17 // CHECK-ERROR-NEXT: fmla v9.2s, v9.2s, v0.2s
18 // CHECK-ERROR-NEXT: ^
20 // CHECK-ARM64-ERROR: error: instruction requires: neon
21 // CHECK-ARM64-ERROR-NEXT: fmla v3.4s, v12.4s, v17.4s
22 // CHECK-ARM64-ERROR-NEXT: ^
23 // CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
24 // CHECK-ARM64-ERROR-NEXT: fmla v1.2d, v30.2d, v20.2d
25 // CHECK-ARM64-ERROR-NEXT: ^
26 // CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
27 // CHECK-ARM64-ERROR-NEXT: fmla v9.2s, v9.2s, v0.2s
28 // CHECK-ARM64-ERROR-NEXT: ^
30 fmls v3.4s, v12.4s, v17.4s
31 fmls v1.2d, v30.2d, v20.2d
32 fmls v9.2s, v9.2s, v0.2s
33 // CHECK-ERROR: error: instruction requires a CPU feature not currently enabled
34 // CHECK-ERROR-NEXT: fmls v3.4s, v12.4s, v17.4s
35 // CHECK-ERROR-NEXT: ^
36 // CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
37 // CHECK-ERROR-NEXT: fmls v1.2d, v30.2d, v20.2d
38 // CHECK-ERROR-NEXT: ^
39 // CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
40 // CHECK-ERROR-NEXT: fmls v9.2s, v9.2s, v0.2s
41 // CHECK-ERROR-NEXT: ^
43 // CHECK-ARM64-ERROR: error: instruction requires: neon
44 // CHECK-ARM64-ERROR-NEXT: fmls v3.4s, v12.4s, v17.4s
45 // CHECK-ARM64-ERROR-NEXT: ^
46 // CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
47 // CHECK-ARM64-ERROR-NEXT: fmls v1.2d, v30.2d, v20.2d
48 // CHECK-ARM64-ERROR-NEXT: ^
49 // CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
50 // CHECK-ARM64-ERROR-NEXT: fmls v9.2s, v9.2s, v0.2s
51 // CHECK-ARM64-ERROR-NEXT: ^