[Bug target/54429] [SH] SImode values get ferried through FPUL and FP regs for -O0

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 27 11:41:00 GMT 2014


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

--- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Another minimal test case:

int var;

int test (void)
{
  return var;
}


        mov.l   r14,@-r15
        mov     r15,r14
        mov.l   .L3,r1
        mov.l   @r1,r1
        lds     r1,fpul
        fsts    fpul,fr1
        flds    fr1,fpul
        sts     fpul,r0
        mov     r14,r15
        mov.l   @r15+,r14
        rts
        nop
.L4:
        .align 2
.L3:
        .long   _var



More information about the Gcc-bugs mailing list