2021-11-14 03:09:01 +08:00
|
|
|
// RUN: %clang_cc1 -triple thumbv7-none-eabi -target-feature +neon -target-feature +vfp4 -fsyntax-only -verify %s
|
2021-11-10 06:28:12 +08:00
|
|
|
// REQUIRES: aarch64-registered-target || arm-registered-target
|
|
|
|
|
2016-02-03 02:02:10 +08:00
|
|
|
#include <arm_neon.h>
|
|
|
|
|
|
|
|
// expected-no-diagnostics
|
|
|
|
|
|
|
|
void func(float32x2_t v2f32, float32x4_t v4f32) {
|
|
|
|
vfma_f32(v2f32, v2f32, v2f32);
|
|
|
|
vfmaq_f32(v4f32, v4f32, v4f32);
|
|
|
|
|
|
|
|
vfms_f32(v2f32, v2f32, v2f32);
|
|
|
|
vfmsq_f32(v4f32, v4f32, v4f32);
|
|
|
|
}
|