On Thu, Apr 15, 2021 at 6:50 PM Robin Dapp via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > Hi, > > the gimplefe40 and gimplefe41.c tests expect vector capabilities > (vect_float etc.) yet are not in the vect subdirectory. This causes > both to be called unconditionally without prior target-specific vector > setup normally performed by vect/vect.exp. > > There is a target-specific option for powerpc > > /* { dg-additional-options "-maltivec" { target { powerpc*-*-* && > powerpc_altivec_ok } } } */ > > which enables Altivec on supported targets but I'd rather not create > another special case for s390. I suppose the better solution is to move > these tests to the vect subdirectory. > > Is this OK?
Do the testcases currently fail? How? In principle moving to vect/ is OK but then having the gimplefe testcases in one place is nice ... Richard. > Regards > Robin > > -- > > gcc/testsuite/ChangeLog: > > * gcc.dg/gimplefe-40.c: Moved to... > * gcc.dg/vect/gimplefe-40.c: ...here. > * gcc.dg/gimplefe-41.c: Moved to... > * gcc.dg/vect/gimplefe-41.c: ...here.