https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17381
--- Comment #9 from Martin Sebor ---
Author: msebor
Date: Thu Jan 28 21:05:39 2016
New Revision: 232947
URL: https://gcc.gnu.org/viewcvs?rev=232947&root=gcc&view=rev
Log:
PR target/17381 - Unnecessary register move for float extend
2016-01-28
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17381
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17381
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|NEW
AssignedTo|pinskia at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17381
--- Comment #6 from Andrew Pinski 2011-01-05
00:15:50 UTC ---
(In reply to comment #5)
> This is the patch which fixes the issue:Index: regrename.c
> ===
> --- regrename.c (revision
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-01-15 19:58 ---
This is the patch which fixes the issue:Index: regrename.c
===
--- regrename.c (revision 3023)
+++ regrename.c (working copy)
@@ -1374,6 +1374,10 @@ may
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-01-14 19:52 ---
I almost have a patch for this.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-18 02:37 ---
(In reply to comment #2)
> We get two extra fmr's and one extra load:
I filed the extra load as PR 25474.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17381
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-18 02:10 ---
It is even worse with:
double d;
float test1(float fParm)
{
d = fParm + 1.0;
return fParm + 1.0f;
}
We get two extra fmr's and one extra load:
_test1:
fmr f12,f1 < extra fmr
lis r2,ha16(LC1)