• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not llvm-mc  -triple aarch64-none-linux-gnu -mattr=-neon < %s 2> %t
2// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s
3
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: neon
8// CHECK-ERROR-NEXT:    fmla v3.4s, v12.4s, v17.4s
9// CHECK-ERROR-NEXT:    ^
10// CHECK-ERROR-NEXT: error: instruction requires: neon
11// CHECK-ERROR-NEXT:    fmla v1.2d, v30.2d, v20.2d
12// CHECK-ERROR-NEXT:    ^
13// CHECK-ERROR-NEXT: error: instruction requires: neon
14// CHECK-ERROR-NEXT:    fmla v9.2s, v9.2s, v0.2s
15// CHECK-ERROR-NEXT:    ^
16
17        fmls v3.4s, v12.4s, v17.4s
18        fmls v1.2d, v30.2d, v20.2d
19        fmls v9.2s, v9.2s, v0.2s
20
21// CHECK-ERROR: error: instruction requires: neon
22// CHECK-ERROR-NEXT:    fmls v3.4s, v12.4s, v17.4s
23// CHECK-ERROR-NEXT:    ^
24// CHECK-ERROR-NEXT: error: instruction requires: neon
25// CHECK-ERROR-NEXT:    fmls v1.2d, v30.2d, v20.2d
26// CHECK-ERROR-NEXT:    ^
27// CHECK-ERROR-NEXT: error: instruction requires: neon
28// CHECK-ERROR-NEXT:    fmls v9.2s, v9.2s, v0.2s
29// CHECK-ERROR-NEXT:    ^
30
31
32        fmls.4s v3, v12, v17
33        fmls.2d v1, v30, v20
34        fmls.2s v9, v9, v0
35
36// CHECK-ERROR: error: instruction requires: neon
37// CHECK-ERROR-NEXT:    fmls.4s v3, v12, v17
38// CHECK-ERROR-NEXT:    ^
39// CHECK-ERROR-NEXT: error: instruction requires: neon
40// CHECK-ERROR-NEXT:    fmls.2d v1, v30, v20
41// CHECK-ERROR-NEXT:    ^
42// CHECK-ERROR-NEXT: error: instruction requires: neon
43// CHECK-ERROR-NEXT:    fmls.2s v9, v9, v0
44// CHECK-ERROR-NEXT:    ^
45