OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jan 2007 09:22:22 +0000 (09:22 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jan 2007 09:22:22 +0000 (09:22 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120708 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68k/m68k.h

index 2363472..6be2098 100644 (file)
@@ -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.
index 5eedd9a..4f923c3 100644 (file)
@@ -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); }             \