https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113630
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note LLVM produces decent code here by only using one load: ``` xor eax, eax test esi, esi sete al mov eax, dword ptr [rdi + 4*rax] ``` Maybe GCC could do the same ...