https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113837

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BTW, I guess we should have some RTL optimization (possibly backend combiner
pattern)
to be able to optimize stuff like
        sall    $7, y(%rip), %eax
        sall    $7, %edi
        cmpl    %eax, %edi
to xorl %edi, y(%rip), %eax; testl $0x1ffffff, %edx
or similar (and similarly without APX).

Reply via email to