public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57150] New: GCC when targeting power7 spills long double using VSX instructions.
@ 2013-05-02 19:36 meissner at gcc dot gnu.org
  2013-05-02 19:37 ` [Bug target/57150] " meissner at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: meissner at gcc dot gnu.org @ 2013-05-02 19:36 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 57150
           Summary: GCC when targeting power7 spills long double using VSX
                    instructions.
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: meissner@gcc.gnu.org


Created attachment 30008
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30008
Cut down example to show the problem, using -mcpu=power7 -m64

In the glibc file e_scalbl.c, the compiler is using VSX stxvd2x and lxvd2x
instructions to spill long double, even though only 1/2 of the register is
used.  The compiler should use scalar load/store instructions.


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

end of thread, other threads:[~2013-05-07 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-02 19:36 [Bug target/57150] New: GCC when targeting power7 spills long double using VSX instructions meissner at gcc dot gnu.org
2013-05-02 19:37 ` [Bug target/57150] " meissner at gcc dot gnu.org
2013-05-02 19:42 ` meissner at gcc dot gnu.org
2013-05-02 21:03 ` meissner at gcc dot gnu.org
2013-05-03 19:18 ` meissner at gcc dot gnu.org
2013-05-07 16:26 ` meissner 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).