2014-05-06 20:50:55 +08:00
|
|
|
// RUN: not llvm-mc -triple arm64-none-linux-gnu -mattr=-neon < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-ARM64-ERROR < %t %s
|
|
|
|
|
2013-08-01 17:20:35 +08:00
|
|
|
fmla v3.4s, v12.4s, v17.4s
|
|
|
|
fmla v1.2d, v30.2d, v20.2d
|
|
|
|
fmla v9.2s, v9.2s, v0.2s
|
|
|
|
// CHECK-ERROR: error: instruction requires a CPU feature not currently enabled
|
|
|
|
// CHECK-ERROR-NEXT: fmla v3.4s, v12.4s, v17.4s
|
|
|
|
// CHECK-ERROR-NEXT: ^
|
|
|
|
// CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
|
|
|
|
// CHECK-ERROR-NEXT: fmla v1.2d, v30.2d, v20.2d
|
|
|
|
// CHECK-ERROR-NEXT: ^
|
|
|
|
// CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
|
|
|
|
// CHECK-ERROR-NEXT: fmla v9.2s, v9.2s, v0.2s
|
|
|
|
// CHECK-ERROR-NEXT: ^
|
|
|
|
|
2014-05-06 20:50:55 +08:00
|
|
|
// CHECK-ARM64-ERROR: error: instruction requires: neon
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: fmla v3.4s, v12.4s, v17.4s
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: ^
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: fmla v1.2d, v30.2d, v20.2d
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: ^
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: fmla v9.2s, v9.2s, v0.2s
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: ^
|
|
|
|
|
2013-08-01 17:20:35 +08:00
|
|
|
fmls v3.4s, v12.4s, v17.4s
|
|
|
|
fmls v1.2d, v30.2d, v20.2d
|
|
|
|
fmls v9.2s, v9.2s, v0.2s
|
|
|
|
// CHECK-ERROR: error: instruction requires a CPU feature not currently enabled
|
|
|
|
// CHECK-ERROR-NEXT: fmls v3.4s, v12.4s, v17.4s
|
|
|
|
// CHECK-ERROR-NEXT: ^
|
|
|
|
// CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
|
|
|
|
// CHECK-ERROR-NEXT: fmls v1.2d, v30.2d, v20.2d
|
|
|
|
// CHECK-ERROR-NEXT: ^
|
|
|
|
// CHECK-ERROR-NEXT: error: instruction requires a CPU feature not currently enabled
|
|
|
|
// CHECK-ERROR-NEXT: fmls v9.2s, v9.2s, v0.2s
|
|
|
|
// CHECK-ERROR-NEXT: ^
|
2014-05-06 20:50:55 +08:00
|
|
|
|
|
|
|
// CHECK-ARM64-ERROR: error: instruction requires: neon
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: fmls v3.4s, v12.4s, v17.4s
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: ^
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: fmls v1.2d, v30.2d, v20.2d
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: ^
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: error: instruction requires: neon
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: fmls v9.2s, v9.2s, v0.2s
|
|
|
|
// CHECK-ARM64-ERROR-NEXT: ^
|