[Bug target/81602] Unnecessary zero-extension after 16 bit popcnt

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

[Bug target/81602] Unnecessary zero-extension after 16 bit popcnt

2017-09-21 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81602 --- Comment #3 from Peter Cordes --- Forgot to mention: memory-source popcnt with an indexed addressing mode would also be worse on SnB/IvB: it can't stay micro-fused, so the front-end un-laminates it in the issue stage. Haswell and later can

[Bug target/81602] Unnecessary zero-extension after 16 bit popcnt

2017-09-21 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81602 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #2

[Bug target/81602] Unnecessary zero-extension after 16 bit popcnt

2017-07-30 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81602 --- Comment #1 from Uroš Bizjak --- (In reply to Christoph Diegelmann from comment #0) > GCC misses an optimization on this: > > #include > #include "immintrin.h" > > void test(std::uint16_t* mask, std::uint16_t* data) { > for (int i = 0;