summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/arm_vfma.c
blob: c50a4147b3f4d439dcf284c268150a598404c175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -triple thumbv7s-apple-ios7.0 -target-feature +neon -fsyntax-only -verify %s
#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);
}
OpenPOWER on IntegriCloud