https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2021-03-05 00:00:00 |2023-10-9 --- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to JuzheZhong from comment #6) > Hi, Richi. > > Recently, I am evaluating TSVC performance of GCC: > > I found both RISC-V and aarch64 can SLP vectorize it: > > https://godbolt.org/z/ssvTxxjeT > > Both GCC-13 and trunk GCC can SLP it like LLVM (GCC-12 failed) but with > -fno-vect-cost-model. > > I suspect we should adjust Vector COST model (I don't think we should ajust > cost > model in target backend since LLVM by default vectorize such case). We are only vectorizing part of the scalar code. The CSE issue still exists, so is the resulting loop analysis issues.