[Bug target/82038] Very poor optimization of constant multiply on ARM Cortex-M7

2020-04-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82038 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/82038] Very poor optimization of constant multiply on ARM Cortex-M7

2017-08-30 Thread headch at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82038 --- Comment #2 from Christopher Head --- I think they do. Just one example, but I’m pretty sure it holds for others too (left-shift equals multiply by power of two, even for negative integers; it’s right-shift where the behaviour differs due to

[Bug target/82038] Very poor optimization of constant multiply on ARM Cortex-M7

2017-08-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82038 --- Comment #1 from Andrew Pinski --- I don't think these two assembly code gives the same output if x was negative.