[Bug target/86131] powerpc: gcc uses costly multiply instead of shift left

2023-12-12 Thread christophe.leroy at csgroup dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86131 --- Comment #3 from Christophe Leroy --- (In reply to Andrew Pinski from comment #2) > The cost has been 2 since the day -mcpu=860 was added back in 1996 > (r0-10828). Right, which means that a single left shift performs better than a multiply b

[Bug target/86131] powerpc: gcc uses costly multiply instead of shift left

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86131 --- Comment #2 from Andrew Pinski --- The cost has been 2 since the day -mcpu=860 was added back in 1996 (r0-10828).

[Bug target/86131] powerpc: gcc uses costly multiply instead of shift left

2018-08-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86131 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme