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:
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