This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/34283] Non-optimal reload register used
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 27 Oct 2012 07:33:41 +0000
- Subject: [Bug rtl-optimization/34283] Non-optimal reload register used
- Auto-submitted: auto-generated
- References: <bug-34283-4@http.gcc.gnu.org/bugzilla/>
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.