https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94373
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Component|t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94373
--- Comment #2 from Hongtao.liu ---
I think
Change lea_cost from 2 --> 1 in skylake can fix this regressions.
Since it's stage4 now, i hold my patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94373
--- Comment #3 from Hongtao.liu ---
(In reply to Hongtao.liu from comment #2)
> I think
> Change lea_cost from 2 --> 1 in skylake can fix this regressions.
>
> Since it's stage4 now, i hold my patch.
Classify: it's for -O2 -mtune=skylake-avx512
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94373
--- Comment #4 from Richard Biener ---
Note the cited commit simply caused more complete unrolling to happen. Too
much actually which is why I reverted it. Note GCC 9.2 does not have that more
unrolling so the difference must be something else