]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/gcc.target/arm/mve/intrinsics/vsubq_n_f32.c
[ARM][GCC][1/2x]: MVE intrinsics with binary operands.
[gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vsubq_n_f32.c
CommitLineData
4be8cf77
SP
1/* { dg-do compile } */
2/* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
3/* { dg-add-options arm_v8_1m_mve_fp } */
4/* { dg-additional-options "-O2" } */
5
6#include "arm_mve.h"
7
8float32x4_t
9foo (float32x4_t a, float32_t b)
10{
11 return vsubq_n_f32 (a, b);
12}
13
14/* { dg-final { scan-assembler "vsub.f32" } } */
15
16float32x4_t
17foo1 (float32x4_t a, float32_t b)
18{
19 return vsubq (a, b);
20}
21
22/* { dg-final { scan-assembler "vsub.f32" } } */
This page took 0.038221 seconds and 5 git commands to generate.