https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96633
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=46235 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- On the trunk we get: cmpb $32, %dil ja .L3 movabsq $4294977024, %rax btq %rdi, %rax setc %al ret .L3: xorl %eax, %eax ret Which is close. The reason why we produce a bt now is because of PR46235.