This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]