Mercurial > hg > CbC > CbC_llvm
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 |
rev | line source |
---|---|
150 | 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 | |
6 void 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 } |