Kyrylo Tkachov writes: [...] >> diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vsetq_lane_f16.c >> b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vsetq_lane_f16.c >> index e03e9620528..b5c9f4d5eb8 100644 >> --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vsetq_lane_f16.c >> +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vsetq_lane_f16.c >> @@ -1,15 +1,45 @@ >> -/* { dg-skip-if "Incompatible float ABI" { *-*-* } { "-mfloat-abi=soft" } {""} } */ >> /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */ >> /* { dg-add-options arm_v8_1m_mve_fp } */ >> /* { dg-additional-options "-O2" } */ >> +/* { dg-final { check-function-bodies "**" "" } } */ >> >> #include "arm_mve.h" >> >> +/* >> +**foo: >> +** ... >> +** vmov.16 q[0-9]+\[[0-9]+\], (?:ip|fp|r[0-9]+)(?: @.*|) >> +** ... >> +*/ >> float16x8_t >> foo (float16_t a, float16x8_t b) >> { >> - return vsetq_lane_f16 (a, b, 0); >> + return vsetq_lane_f16 (a, b, 1); >> } >> > > Hmm, for these tests we should be able to scan for more specific codegen as we're setting individual lanes, so we should be able to scan for lane 1 in the vmov instruction, though it may need to be flipped for big-endian. > Thanks, > Kyrill Hi Kyrill, please find attached the updated version of this patch. Big-endian should not be a problem as for my understanding is just not supported with MVE intrinsics. Thanks! Andrea