aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2007-01-12 09:22:22 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-01-12 09:22:22 +0000
commitbb5bdf700e8c6a07615aaae02159889f93890ec3 (patch)
tree954f6408d57d3dbb359dd01ba64a66a674f2270b /gcc
parent9cf106c86514bf6cf415fd198c89d4ab304f2990 (diff)
downloadgcc-bb5bdf700e8c6a07615aaae02159889f93890ec3.zip
gcc-bb5bdf700e8c6a07615aaae02159889f93890ec3.tar.gz
gcc-bb5bdf700e8c6a07615aaae02159889f93890ec3.tar.bz2
200x-xx-xx Julian Brown <julian@codesourcery.com>
gcc/ 200x-xx-xx Julian Brown <julian@codesourcery.com> * config/m68k/m68k.h (LEGITIMATE_INDEX_P, LEGITIMIZE_ADDRESS): Use TARGET_COLDFIRE_FPU instead of TARGET_CFV4E. From-SVN: r120708
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/m68k/m68k.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2363472..6be2098 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2007-01-12 Julian Brown <julian@codesourcery.com>
+ * config/m68k/m68k.h (LEGITIMATE_INDEX_P, LEGITIMIZE_ADDRESS): Use
+ TARGET_COLDFIRE_FPU instead of TARGET_CFV4E.
+
+2007-01-12 Julian Brown <julian@codesourcery.com>
+
* config/m68k/m68k.h (TUNE_68040_60): New macro.
* config/m68k/m68k.c (standard_68881_constant_p): Use it.
* config/m68k/m68k.md: Likewise.
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 5eedd9a..4f923c3 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -771,7 +771,7 @@ __transfer_from_trampoline () \
&& (INTVAL (XEXP (X, 1)) == 2 \
|| INTVAL (XEXP (X, 1)) == 4 \
|| (INTVAL (XEXP (X, 1)) == 8 \
- && (TARGET_CFV4E || !TARGET_COLDFIRE)))))
+ && (TARGET_COLDFIRE_FPU || !TARGET_COLDFIRE)))))
/* Coldfire FPU only accepts addressing modes 2-5 */
#define GO_IF_COLDFIRE_FPU_LEGITIMATE_ADDRESS(MODE, X, ADDR) \
@@ -819,7 +819,8 @@ __transfer_from_trampoline () \
{ COPY_ONCE (X); XEXP (X, 1) = force_operand (XEXP (X, 1), 0);} \
if (ch && GET_CODE (XEXP (X, 1)) == REG \
&& GET_CODE (XEXP (X, 0)) == REG) \
- { if (TARGET_CFV4E && GET_MODE_CLASS (MODE) == MODE_FLOAT) \
+ { if (TARGET_COLDFIRE_FPU \
+ && GET_MODE_CLASS (MODE) == MODE_FLOAT) \
{ COPY_ONCE (X); X = force_operand (X, 0);} \
goto WIN; } \
if (ch) { GO_IF_LEGITIMATE_ADDRESS (MODE, X, WIN); } \