public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/49357] New: [4.7 Regression] register allocation worse
@ 2011-06-10  2:54 hp at gcc dot gnu.org
  2011-06-10  2:54 ` [Bug rtl-optimization/49357] " hp at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hp at gcc dot gnu.org @ 2011-06-10  2:54 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] register allocation worse
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf


Compare the prologue for the test-case in attachment 24471 to PR49154 and
compiled according to those instructions,
<http://gcc.gnu.org/bugzilla/attachment.cgi?id=24471> between 4.3.3 (everything
before the first "add"):
    subq 4,$sp
    move $srp,[$sp]
    subq 12,$sp
    movem $r2,[$sp]
    move.d $r10,$r2
    move.d $r10,$r9
    move.d $r11,$r10

to that of trunk at r174114 as well as r174870:
        subq 4,$sp
        move $srp,[$sp]
        subq 16,$sp
        movem $r3,[$sp]
        subq 4,$sp
        move.d $r8,[$sp]
        move.d $r10,$r8
        move.d $r11,$r9

So, we have a regression from 3 to 5 registers, and with a hole compared to
reg_alloc_order.  Note that the source uses DFmode and DImode and derived
unions; at a glance "normal" code is less affected.  Building on a 32-bit host
seems to aggravate the situation.

Just put here as a note for the time being.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-10 11:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10  2:54 [Bug rtl-optimization/49357] New: [4.7 Regression] register allocation worse hp at gcc dot gnu.org
2011-06-10  2:54 ` [Bug rtl-optimization/49357] " hp at gcc dot gnu.org
2011-06-10  9:35 ` rguenth at gcc dot gnu.org
2011-10-10 11:53 ` [Bug rtl-optimization/49357] " rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).