brintos

brintos / llvm-project-archived public Read only

0
0
Text · 417 B · 797c430 Raw
15 lines · c
1// RUN: %clang_cc1 -triple thumbv7-none-eabi -target-feature +neon -target-feature +vfp4 -fsyntax-only -verify %s2// REQUIRES: aarch64-registered-target || arm-registered-target3 4#include <arm_neon.h>5 6// expected-no-diagnostics7 8void 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}15