/* { dg-require-effective-target arm_v8_1m_mve_ok } */ | |
/* { dg-add-options arm_v8_1m_mve } */ | |
/* { dg-additional-options "-O2" } */ | |
#include "arm_mve.h" | |
int32_t | |
foo (int32_t a, int32x4_t b) | |
{ | |
return vminvq_s32 (a, b); | |
} | |
int32_t | |
foo1 (int32_t a, int32x4_t b) | |
{ | |
return vminvq (a, b); | |
} | |
int32_t | |
foo2 (int8_t a, int32x4_t b) | |
{ | |
return vminvq (a, b); | |
} | |
/* { dg-final { scan-assembler-not "__ARM_undef" } } */ | |
/* { dg-final { scan-assembler-times "vminv.s32" 3 } } */ |