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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #17)
> e.g.:
> 
> float case:
>         xorl    %eax,%eax
>         comiss  %xmm1, %xmm0
>         jp      .L2
>         seta    %al
>         sbbl    $0, %eax
>         ret
> .L2:
>         movl    $2, %eax
>         ret
> 
> This is *really* good sequence!

But peephole2 can't do this (I think it works on bbs, not ebbs).  And see my
above attempt, combine screws stuff up if done during expand.

Reply via email to