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/50567] Reload pass generates sub-optimal spill code for registers in presence of a vec_concat insn


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

--- Comment #2 from Siddhesh Poyarekar <siddhesh.poyarekar at gmail dot com> 2011-09-29 15:24:52 UTC ---
Thanks, that eliminated the spill to stack. The extra xmm1 to xmm0 move still
remains:

process:
.LFB0:
        .cfi_startproc
        movq    (%rdi), %rax
        cmpq    %rsi, %rdi
        movq    %rax, %rdx
        jae     .L2
        movq    (%rsi), %rdx
.L2:
        movd    %rdx, %xmm1
        pinsrq  $1, %rax, %xmm1
        movdqa  %xmm1, %xmm0
        ret


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