public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/61357] New: Patch for 60969 causes MIPS regressions in register allocation
@ 2014-05-29 18:06 sje at gcc dot gnu.org
2014-08-04 8:44 ` [Bug target/61357] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: sje at gcc dot gnu.org @ 2014-05-29 18:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61357
Bug ID: 61357
Summary: Patch for 60969 causes MIPS regressions in register
allocation
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: sje at gcc dot gnu.org
This patch (GIT hash c5d7f2f65740ad3659ec083daa6af1df3a6473a7)
2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/60969
* ira-costs.c (record_reg_classes): Process NO_REGS for matching
constraints. Set up mem cost for NO_REGS case.
Causes some test suite failures for MIPS including
gcc.target/mips/umips-lwp-3.c
Here is a modified version of umips-lwp-3.c:
void foo (int *r4)
{
int r5 = r4[511];
int r6 = r4[512];
r4[2] = r5 * r5;
{
register int r5asm asm ("$5") = r5;
register int r6asm asm ("$6") = r6;
asm ("#foo" : "=m" (r4[3]) : "d" (r5asm), "d" (r6asm));
}
}
When compiled with: -S -mgp32 -fpeephole2 -mtune=m14k -mmicromips -O2
it used to generate a lwp (load word paired) instruction. But after
this check in it generates two lw instructions instead.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/61357] Patch for 60969 causes MIPS regressions in register allocation
2014-05-29 18:06 [Bug rtl-optimization/61357] New: Patch for 60969 causes MIPS regressions in register allocation sje at gcc dot gnu.org
@ 2014-08-04 8:44 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-08-04 8:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61357
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|rtl-optimization |target
Resolution|--- |FIXED
Target Milestone|--- |4.10.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01237.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-04 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-29 18:06 [Bug rtl-optimization/61357] New: Patch for 60969 causes MIPS regressions in register allocation sje at gcc dot gnu.org
2014-08-04 8:44 ` [Bug target/61357] " pinskia 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).