public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/47751] New: Wrong code with -mcpu=8540 -mfloat-gprs=double -mspe -Os on PowerPC
@ 2011-02-15 13:13 sebastian.huber@embedded-brains.de
  2011-02-15 13:23 ` [Bug c/47751] " sebastian.huber@embedded-brains.de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sebastian.huber@embedded-brains.de @ 2011-02-15 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Wrong code with -mcpu=8540 -mfloat-gprs=double -mspe
                    -Os on PowerPC
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sebastian.huber@embedded-brains.de
            Target: powerpc-rtems4.11una


Created attachment 23349
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23349
Assembler code.

In the attached assembler file:

Line 371: Save of non-volatile registers via stmw 25,28(1)

Line 454: Restore of non-volatile registers via b _rest64gpr_25_x

This procedure is completely wrong, e.g. _rest64gpr_25_x loads the link
register from a wrong stack position with an arbitrary value.


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

end of thread, other threads:[~2011-02-22 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-15 13:13 [Bug c/47751] New: Wrong code with -mcpu=8540 -mfloat-gprs=double -mspe -Os on PowerPC sebastian.huber@embedded-brains.de
2011-02-15 13:23 ` [Bug c/47751] " sebastian.huber@embedded-brains.de
2011-02-15 17:57 ` [Bug target/47751] " joseph at codesourcery dot com
2011-02-22 11:54 ` sebastian.huber@embedded-brains.de

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).