diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2006-05-24 23:23:10 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2006-05-24 23:23:10 +0000 |
commit | 5877ca2e8b794219b2fe951e6359bcd156cbde23 (patch) | |
tree | ae429cc8cdc8dfd1434b3a6b4a2d33428f2c6541 /gcc/config/pa | |
parent | fccd5f95172786c6d6ae99a8d13a476c99c62d3e (diff) | |
download | gcc-5877ca2e8b794219b2fe951e6359bcd156cbde23.zip gcc-5877ca2e8b794219b2fe951e6359bcd156cbde23.tar.gz gcc-5877ca2e8b794219b2fe951e6359bcd156cbde23.tar.bz2 |
re PR target/27627 (__builtin_nanf("") doesn't return a _quiet_ nan on parisc)
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
Diffstat (limited to 'gcc/config/pa')
-rw-r--r-- | gcc/config/pa/pa-modes.def | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/config/pa/pa-modes.def b/gcc/config/pa/pa-modes.def index d9602fd..b85d3ba 100644 --- a/gcc/config/pa/pa-modes.def +++ b/gcc/config/pa/pa-modes.def @@ -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); |