re PR target/27627 (__builtin_nanf("") doesn't return a _quiet_ nan on parisc)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Wed, 24 May 2006 23:23:10 +0000 (23:23 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 24 May 2006 23:23:10 +0000 (23:23 +0000)
PR target/27627
* pa/pa-modes.def: Use mips_single_format, mips_double_format and
mips_quad_format formats instead of ieee_single_format,
ieee_double_format and ieee_quad_format formats, respectively.

From-SVN: r114059

gcc/ChangeLog
gcc/config/pa/pa-modes.def

index 84396394252352acd7e2c436839fe39008f052e6..d94f8d6837c5cd78aebe840a78e825b54aaff378 100644 (file)
@@ -1,3 +1,10 @@
+2006-06-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/27627
+       * pa/pa-modes.def: Use mips_single_format, mips_double_format and
+       mips_quad_format formats instead of ieee_single_format,
+       ieee_double_format and ieee_quad_format formats, respectively.
+
 2006-05-24  Zdenek Dvorak <dvorakz@suse.cz>
 
        PR tree-optimization/27639
index d9602fd16732e7161fd6a30cd7feeb9211eea128..b85d3bae54326dc1e934d9510848bb0828595416 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler, for the HP Spectrum.
-   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
    Contributed by Michael Tiemann (tiemann@cygnus.com) of Cygnus Support
    and Tim Moore (moore@defmacro.cs.utah.edu) of the Center for
    Software Science at the University of Utah.
@@ -21,8 +21,13 @@ along with GCC; see the file COPYING.  If not, write to
 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
+/* PA-RISC has the same reversed quiet bit as MIPS.
+   ??? Why is this called the MIPS format.  */
+RESET_FLOAT_FORMAT (SF, mips_single_format);
+RESET_FLOAT_FORMAT (DF, mips_double_format);
+
 /* TFmode: IEEE quad floating point (software).  */
-FLOAT_MODE (TF, 16, ieee_quad_format);
+FLOAT_MODE (TF, 16, mips_quad_format);
 
 /* HPPA floating comparisons produce distinct condition codes.  */
 CC_MODE (CCFP);