summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-06 01:52:50 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-06 01:52:50 +0000
commitecaa8a984a6d5eff96686168ed73d037024d724e (patch)
tree38cfe0c739932dfc6014ffa56f743462871b7b39 /gcc
parenta1576841638966b77b12673f28f9ca38f4747880 (diff)
downloadgcc-ecaa8a984a6d5eff96686168ed73d037024d724e.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136423 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/linux64.h3
-rw-r--r--gcc/config/rs6000/xcoff.h3
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3cb7ec5d3d7..687bc5e9fdd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index e83e0e9697a..f9221f3ad32 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -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 \
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index c4bceca833c..3cf6e4b13ab 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -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)))))