https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65871
Yann Collet <yann.collet.73 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yann.collet.73 at gmail dot com --- Comment #14 from Yann Collet <yann.collet.73 at gmail dot com> --- Is gcc -mbmi2 currently able to generate automatically a bzhi instruction when it detects a "X & ((1 << Y) - 1)" sequence, as suggested by James Almer ? If yes, are there some available examples ?