public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46378] New: Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+)
@ 2010-11-08 18:59 meissner at gcc dot gnu.org
  2010-11-08 19:01 ` [Bug target/46378] " meissner at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: meissner at gcc dot gnu.org @ 2010-11-08 18:59 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Powerpc -mcpu=power5 selects FP found instructions
                    (should use -mcpu=power5+)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: meissner@gcc.gnu.org


Created attachment 22335
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22335
Patch to fix the problem.

In my change on August 23rd, 2010 and September 2nd, 2010, I mistakenly enabled
the floating round instructions (-mfprnd) for -mcpu=power5 (ISA 2.02), while
these instructions weren't added until later (ISA 2.04, or -mcpu=power5+).  The
-mcpu=power5 option should not enable the floating point round instructions.


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

* [Bug target/46378] Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+)
  2010-11-08 18:59 [Bug target/46378] New: Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+) meissner at gcc dot gnu.org
@ 2010-11-08 19:01 ` meissner at gcc dot gnu.org
  2010-11-08 19:02 ` meissner at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: meissner at gcc dot gnu.org @ 2010-11-08 19:01 UTC (permalink / raw)
  To: gcc-bugs

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

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.11.08 19:00:52
         AssignedTo|unassigned at gcc dot       |meissner at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


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

* [Bug target/46378] Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+)
  2010-11-08 18:59 [Bug target/46378] New: Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+) meissner at gcc dot gnu.org
  2010-11-08 19:01 ` [Bug target/46378] " meissner at gcc dot gnu.org
@ 2010-11-08 19:02 ` meissner at gcc dot gnu.org
  2010-11-08 19:03 ` meissner at gcc dot gnu.org
  2010-11-16  0:50 ` meissner at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: meissner at gcc dot gnu.org @ 2010-11-08 19:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> 2010-11-08 19:02:40 UTC ---
Author: meissner
Date: Mon Nov  8 19:02:35 2010
New Revision: 166448

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166448
Log:
Fix PR 46378 and PR 45585

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/darwin.md
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/rs6000.md


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

* [Bug target/46378] Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+)
  2010-11-08 18:59 [Bug target/46378] New: Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+) meissner at gcc dot gnu.org
  2010-11-08 19:01 ` [Bug target/46378] " meissner at gcc dot gnu.org
  2010-11-08 19:02 ` meissner at gcc dot gnu.org
@ 2010-11-08 19:03 ` meissner at gcc dot gnu.org
  2010-11-16  0:50 ` meissner at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: meissner at gcc dot gnu.org @ 2010-11-08 19:03 UTC (permalink / raw)
  To: gcc-bugs

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

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> 2010-11-08 19:03:35 UTC ---
Fixed in subversion revision: 166448.


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

* [Bug target/46378] Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+)
  2010-11-08 18:59 [Bug target/46378] New: Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+) meissner at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2010-11-08 19:03 ` meissner at gcc dot gnu.org
@ 2010-11-16  0:50 ` meissner at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: meissner at gcc dot gnu.org @ 2010-11-16  0:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Michael Meissner <meissner at gcc dot gnu.org> 2010-11-16 00:41:32 UTC ---
Author: meissner
Date: Tue Nov 16 00:41:29 2010
New Revision: 166787

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166787
Log:
Backport PR 46378, 45585 changes, and import vsx_hw/ppc_recip_hw changes from
testsuite

Modified:
    branches/ibm/gcc-4_5-branch/gcc/ChangeLog.ibm
    branches/ibm/gcc-4_5-branch/gcc/config/rs6000/darwin.md
    branches/ibm/gcc-4_5-branch/gcc/config/rs6000/rs6000.c
    branches/ibm/gcc-4_5-branch/gcc/config/rs6000/rs6000.md
    branches/ibm/gcc-4_5-branch/gcc/testsuite/ChangeLog.ibm
   
branches/ibm/gcc-4_5-branch/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c
    branches/ibm/gcc-4_5-branch/gcc/testsuite/lib/target-supports.exp


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

end of thread, other threads:[~2010-11-16  0:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-08 18:59 [Bug target/46378] New: Powerpc -mcpu=power5 selects FP found instructions (should use -mcpu=power5+) meissner at gcc dot gnu.org
2010-11-08 19:01 ` [Bug target/46378] " meissner at gcc dot gnu.org
2010-11-08 19:02 ` meissner at gcc dot gnu.org
2010-11-08 19:03 ` meissner at gcc dot gnu.org
2010-11-16  0:50 ` 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).