annotate clang/test/Sema/arm_vfma.c @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple thumbv7-none-eabi -target-feature +neon -target-feature +vfp4 -fsyntax-only -verify %s
anatofuz
parents:
diff changeset
2 #include <arm_neon.h>
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 // expected-no-diagnostics
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 void func(float32x2_t v2f32, float32x4_t v4f32) {
anatofuz
parents:
diff changeset
7 vfma_f32(v2f32, v2f32, v2f32);
anatofuz
parents:
diff changeset
8 vfmaq_f32(v4f32, v4f32, v4f32);
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 vfms_f32(v2f32, v2f32, v2f32);
anatofuz
parents:
diff changeset
11 vfmsq_f32(v4f32, v4f32, v4f32);
anatofuz
parents:
diff changeset
12 }