https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970
Tamar Christina <tnfchris at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org --- Comment #19 from Tamar Christina <tnfchris at gcc dot gnu.org> --- (In reply to JuzheZhong from comment #14) > > Hi, @Tamar. Could you double-check whether my analysis (This bug not only > happens on RVV, but also on ARM SVE) is correct or not ? Hi, indeed it does: test@sve-1:~/temp$ ./gcc/bin/gcc -march=armv8-a+sve -O3 -msve-vector-bits=256 sve.c -o sve.exe test@sve-1:~/temp$ ./sve.exe test@sve-1:~/temp$ ./gcc/bin/gcc -march=armv8-a+sve -O3 -msve-vector-bits=256 -fno-vect-cost-model sve.c -o sve-no-cost.exe test@sve-1:~/temp$ ./sve-no-cost.exe sve-no-cost.exe: sve.c:46: main: Assertion `dest_int16_t_int8_t[i * 2] == (src_int16_t_int8_t [index_int16_t_int8_t[i * 2]] + 1)' failed. Aborted (core dumped) I have noticed some other gather related failures but haven't had time to triage them to file bugs. Hoping to get to that soon.