On 10/9/23 19:16, Juzhe-Zhong wrote:
Like GCN, RVV also has 64 bytes vectors (512 bits) which cause FAIL in this
test.
It's more reasonable to use "vect512" instead of AMDGCN.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/bb-slp-68.c: Use vect512.
Just a note for the record. At this time the only target obviously
advertising 512 bit vectors in available_vector_sizes is amdgcn --
avx512 doesn't signal 512 bit vectors right now. SVE might, but it's a
bit hard to tell easily and I don't have a cross handy. I'd hazard a
guess it would via -msve-vector-bits.
Anyway, OK for the trunk. Just keep an eye out for reports of any
issues with this test on aarch64.
Thanks,
Jeff