[Bug target/116014] Missed optimization opportunity: inverted shift count

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116014 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/116014] Missed optimization opportunity: inverted shift count

2024-07-24 Thread bisqwit at iki dot fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116014 --- Comment #2 from Joel Yliluoma --- (In reply to Andi Kleen from comment #1) > is that from some real code? why would a programmer write shifts like that? Yes, it is from actual code: uint64_t readvlq() { uint64_t x, f = ~(ui

[Bug target/116014] Missed optimization opportunity: inverted shift count

2024-07-23 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116014 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment