xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not always place FP constants in the...
authorDavid Edelsohn <edelsohn@gnu.org>
Fri, 6 Jun 2008 01:52:50 +0000 (01:52 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 6 Jun 2008 01:52:50 +0000 (21:52 -0400)
        * config/rs6000/xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not
        always place FP constants in the TOC for TARGET_POWERPC64.
        * config/rs6000/linux64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Same.

From-SVN: r136423

gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/xcoff.h

index 3cb7ec5d3d723a3554b224fb22529b80cd156b59..687bc5e9fdda6b620d5e45f79cd9d456e79ccc58 100644 (file)
@@ -1,3 +1,9 @@
+2008-06-05  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/xcoff.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Do not
+       always place FP constants in the TOC for TARGET_POWERPC64.
+       * config/rs6000/linux64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Same.
+
 2008-06-05  Joseph Myers  <joseph@codesourcery.com>
 
        * config.gcc (powerpc-*-linux*spe*): Use t-dfprules.
index e83e0e9697aab3eada82f25f932f65803be4fed6..f9221f3ad32123b80624853882e208010bc03195 100644 (file)
@@ -477,8 +477,7 @@ extern int dot_symbols;
           && GET_MODE_BITSIZE (MODE) <= GET_MODE_BITSIZE (Pmode))      \
        || (GET_CODE (X) == CONST_DOUBLE                                        \
           && ((TARGET_64BIT                                            \
-               && (TARGET_POWERPC64                                    \
-                   || TARGET_MINIMAL_TOC                               \
+               && (TARGET_MINIMAL_TOC                                  \
                    || (SCALAR_FLOAT_MODE_P (GET_MODE (X))              \
                        && ! TARGET_NO_FP_IN_TOC)))                     \
               || (!TARGET_64BIT                                        \
index c4bceca833c2d19fbb370f7a72fa92f2d9b38d50..3cf6e4b13abdeeaf231e597001a37c447a9c035f 100644 (file)
@@ -83,8 +83,7 @@
        || (GET_CODE (X) == CONST_INT                                   \
           && GET_MODE_BITSIZE (MODE) <= GET_MODE_BITSIZE (Pmode))      \
        || (GET_CODE (X) == CONST_DOUBLE                                        \
-          && (TARGET_POWERPC64                                         \
-              || TARGET_MINIMAL_TOC                                    \
+          && (TARGET_MINIMAL_TOC                                       \
               || (SCALAR_FLOAT_MODE_P (GET_MODE (X))                   \
                   && ! TARGET_NO_FP_IN_TOC)))))