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.

Reply via email to