| 1 |
/// Ensure that we can assemble VFPv4 by just specifying an armv7s target. |
| 2 |
|
| 3 |
// REQUIRES: arm-registered-target |
| 4 |
// RUN: %clang -c -target armv7s-apple-darwin -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-STDERR %s --allow-empty |
| 5 |
// RUN: %clang -c -target armv7s-apple-darwin -o /dev/null %s -### 2>&1 | FileCheck --check-prefix=CHECK-TARGET-FEATURES %s |
| 6 |
|
| 7 |
/// Check that no errors or warnings are present when assembling using cc1as. |
| 8 |
// CHECK-STDERR-NOT: error: |
| 9 |
// CHECK-STDERR-NOT: warning: |
| 10 |
|
| 11 |
// CHECK-TARGET-FEATURES: "-target-feature" "+vfp4" |
| 12 |
|
| 13 |
vfma.f32 q1, q2, q3 |