diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/mve/intrinsics/vminnmq_f32.c')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/mve/intrinsics/vminnmq_f32.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vminnmq_f32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vminnmq_f32.c new file mode 100644 index 00000000000..7f1d843cc6e --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vminnmq_f32.c @@ -0,0 +1,22 @@ +/* { dg-do compile } */ +/* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */ +/* { dg-add-options arm_v8_1m_mve_fp } */ +/* { dg-additional-options "-O2" } */ + +#include "arm_mve.h" + +float32x4_t +foo (float32x4_t a, float32x4_t b) +{ + return vminnmq_f32 (a, b); +} + +/* { dg-final { scan-assembler "vminnm.f32" } } */ + +float32x4_t +foo1 (float32x4_t a, float32x4_t b) +{ + return vminnmq (a, b); +} + +/* { dg-final { scan-assembler "vminnm.f32" } } */ |