clang/test/Sema/arm_vfma.c
raw| 1 | // RUN: %clang_cc1 -triple thumbv7-none-eabi -target-feature +neon -target-feature +vfp4 -fsyntax-only -verify %s |
| 2 | // REQUIRES: aarch64-registered-target || arm-registered-target |
| 3 | |
| 4 | #include <arm_neon.h> |
| 5 | |
| 6 | // expected-no-diagnostics |
| 7 | |
| 8 | void func(float32x2_t v2f32, float32x4_t v4f32) { |
| 9 | vfma_f32(v2f32, v2f32, v2f32); |
| 10 | vfmaq_f32(v4f32, v4f32, v4f32); |
| 11 | |
| 12 | vfms_f32(v2f32, v2f32, v2f32); |
| 13 | vfmsq_f32(v4f32, v4f32, v4f32); |
| 14 | } |