Clang Project

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