[Bug tree-optimization/89847] Simplify subexpressions of % constant

2021-07-28 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89847 --- Comment #2 from Segher Boessenkool --- Interestingly, while this gives optimal code for power8 and power9, we still get an unnecessary mulli for power10. This is because multiplication by 31 is expanded to a multiplication on power10 (just l

[Bug tree-optimization/89847] Simplify subexpressions of % constant

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89847 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/89847] Simplify subexpressions of % constant

2019-04-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89847 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|