https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95529
--- Comment #2 from Gabriel Ravier <gabravier at gmail dot com> --- If using `-mbmi`, shouldn't GCC be able to assume the target is, in fact, a BMI-capable CPU ? I understand that this bug report may be invalid for `bsf` (which would mean Clang has invalid behaviour, which seems odd but ok), but should I reopen this report/make a new report for `-mbmi` ?