public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28966]  New: -maltivec -m32 causes the stack to be saved and restored even though there is no need for it
@ 2006-09-06 18:45 pinskia at gcc dot gnu dot org
  2006-12-18 18:37 ` [Bug target/28966] " nathan at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-06 18:45 UTC (permalink / raw)
  To: gcc-bugs

Testcase:
int f(void)
{
  return 0;
}
This produces with -maltivec -O2:
f:
        stwu 1,-16(1)
        li 3,0
        addi 1,1,16
        blr

With just -O2, we get:
f:
        li 3,0
        blr


-- 
           Summary: -maltivec -m32 causes the stack to be saved and restored
                    even though there is no need for it
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc-linux-gnu


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


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

end of thread, other threads:[~2007-10-31 19:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06 18:45 [Bug target/28966] New: -maltivec -m32 causes the stack to be saved and restored even though there is no need for it pinskia at gcc dot gnu dot org
2006-12-18 18:37 ` [Bug target/28966] " nathan at gcc dot gnu dot org
2006-12-18 18:38 ` nathan at gcc dot gnu dot org
2006-12-21  9:03 ` nathan at gcc dot gnu dot org
2006-12-21  9:04 ` nathan at gcc dot gnu dot org
2007-01-10 19:13 ` pinskia at gcc dot gnu dot org
2007-10-31 19:49 ` pthaugen 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).