public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59054] New: Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0
@ 2013-11-08 19:51 meissner at gcc dot gnu.org
  2013-11-08 19:55 ` [Bug target/59054] " meissner at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: meissner at gcc dot gnu.org @ 2013-11-08 19:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59054
           Summary: Powerpc -O0 -mcpu=power7 generates sub-optimal code to
                    load 0
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: meissner at gcc dot gnu.org

After the changes in early October went in, if you use -O0, and compile code to
load up 0, the compiler decides to generate the 0 in a VSX register, store it
on the stack, and then reload it to a GPR, rather than doing a load immediate
of 0.


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

end of thread, other threads:[~2014-04-04 13:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-08 19:51 [Bug target/59054] New: Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0 meissner at gcc dot gnu.org
2013-11-08 19:55 ` [Bug target/59054] " meissner at gcc dot gnu.org
2013-11-08 19:56 ` meissner at gcc dot gnu.org
2013-11-11 22:27 ` meissner at gcc dot gnu.org
2013-11-12 20:56 ` meissner at gcc dot gnu.org
2013-11-22 17:24 ` meissner at gcc dot gnu.org
2013-11-22 19:20 ` meissner at gcc dot gnu.org
2014-04-04 13:40 ` wschmidt 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).