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