[Bug rtl-optimization/34283] Non-optimal reload register used

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Oct 27 07:34:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34283

--- Comment #6 from Uros Bizjak <ubizjak at gmail dot com> 2012-10-27 07:33:41 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > Still present on x86_64. -O2 -march=corei7:
> > 
> >         movd    %rsi, %xmm1
> >         pinsrq  $1, %rdi, %xmm1
> >         movdqa  %xmm1, %xmm0
> >         ret
> 
> It was still like that yesterday, but today:
> 
>     movd    %rsi, %xmm0
>     pinsrq    $1, %rdi, %xmm0
>     ret
> 
> Fixed by LRA?

Looks so. I will prepare a testcase and close the bug.



More information about the Gcc-bugs mailing list