[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large
hliu at amperecomputing dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 19 09:36:07 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625
--- Comment #8 from Hao Liu <hliu at amperecomputing dot com> ---
Thanks for the explanation. Understood the root cause and that's reasonable.
So, do you have plan to fix this (i.e. to separate the FP and integer types)?
I want to enable the new costs for Ampere1, which is similar to N2's
issue-info. If this problem won't be fixed in the near future, I think a
workaround is probably to adjust the general_ops in the issue_info. E.g. set
the general_ops of both scalar and vector to 3 instead of current values of "4
and 2".
More information about the Gcc-bugs
mailing list