[Bug rtl-optimization/111011] New: gcc-13 incorrectly decrements by 2. It's twice as fast as gcc-12 and clang!

2023-08-14 Thread adam.warner.nz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111011 Bug ID: 111011 Summary: gcc-13 incorrectly decrements by 2. It's twice as fast as gcc-12 and clang! Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug target/29776] result of ffs/clz/ctz/popcount/parity are already sign-extended

2023-03-21 Thread adam.warner.nz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29776 --- Comment #25 from Adam Warner --- Documenting a workaround I've found for the unnecessary sign extension. I'm still perplexed at the improbability of this appearing to work! workaround_bsr_sign_extension.c: #include uint64_t bsr_u64(uint64