public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/36972] New: Redundant creation of stack fram on spu-gcc
@ 2008-07-30 12:18 eres at il dot ibm dot com
2008-08-16 23:07 ` [Bug target/36972] Redundant creation of stack frame " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: eres at il dot ibm dot com @ 2008-07-30 12:18 UTC (permalink / raw)
To: gcc-bugs
Running the testcase from PR33927 on spu-gcc 4.4.0 2008062 generates the
following code which contains a redundant creation of stack frame:
test1:
fa $3,$3,$4
stqd $sp,-48($sp)
ai $sp,$sp,-48
lnop
ai $sp,$sp,48
bi $lr
.size test1, .-test1
.align 3
.global test2
.type test2, @function
test2:
fa $4,$4,$4
stqd $sp,-128($sp)
fa $3,$3,$3
ai $sp,$sp,-128
ai $sp,$sp,128
bi $lr
.size test2, .-test2
.ident "GCC: (GNU) 4.4.0 20080629 (experimental)"
Here is again the testcase from PR33297:
#define vector __attribute__((__vector_size__(16) ))
typedef vector float vec_float4;
typedef struct {
vec_float4 data;
} VecFloat4;
typedef struct {
vec_float4 a;
vec_float4 b;
} VecFloat4x2;
VecFloat4 test1(VecFloat4 a, VecFloat4 b)
{
a.data = a.data+b.data;
return a;
}
VecFloat4x2 test2(VecFloat4x2 data)
{
data.a = data.a+data.a;
data.b = data.b+data.b;
return data;
}
--
Summary: Redundant creation of stack fram on spu-gcc
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eres at il dot ibm dot com
GCC host triplet: spu-gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36972
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/36972] Redundant creation of stack frame on spu-gcc
2008-07-30 12:18 [Bug rtl-optimization/36972] New: Redundant creation of stack fram on spu-gcc eres at il dot ibm dot com
@ 2008-08-16 23:07 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-16 23:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-16 23:06 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |missed-optimization
Last reconfirmed|0000-00-00 00:00:00 |2008-08-16 23:06:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36972
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-16 23:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-30 12:18 [Bug rtl-optimization/36972] New: Redundant creation of stack fram on spu-gcc eres at il dot ibm dot com
2008-08-16 23:07 ` [Bug target/36972] Redundant creation of stack frame " pinskia at gcc dot gnu dot 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).