OSDN Git Service

* real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Sep 2002 06:36:36 +0000 (06:36 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Sep 2002 06:36:36 +0000 (06:36 +0000)
        IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
        * defaults.h: ... here.
        * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
        config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
        config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
        config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.

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

13 files changed:
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/config/avr/avr.h
gcc/config/d30v/d30v.h
gcc/config/fr30/fr30.h
gcc/config/frv/frv.h
gcc/config/ia64/ia64.h
gcc/config/ip2k/ip2k.h
gcc/config/mips/mips.h
gcc/config/stormy16/stormy16.h
gcc/config/xtensa/xtensa.h
gcc/defaults.h
gcc/real.h

index 2496779..ad3f1a4 100644 (file)
@@ -1,3 +1,13 @@
+2002-09-20  Richard Henderson  <rth@redhat.com>
+
+       * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
+       IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
+       * defaults.h: ... here.
+       * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
+       config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
+       config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
+       config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
+
 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * config/mmix/mmix.md ("negdf2"): Rewrite.
index bd19a09..ffc0459 100644 (file)
@@ -731,9 +731,6 @@ extern const char * structure_size_string;
 /* Nonzero if move instructions will actually fail to work
    when given unaligned data.  */
 #define STRICT_ALIGNMENT 1
-
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 \f
 /* Standard register usage.  */
 
index 555bbde..7f9f283 100644 (file)
@@ -2690,8 +2690,6 @@ extern struct rtx_def *tmp_reg_rtx;
 extern struct rtx_def *zero_reg_rtx;
 extern struct rtx_def *ldi_reg_rtx;
 
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
 
 /* Get the standard ELF stabs definitions.  */
index 6045d90..421f964 100644 (file)
@@ -201,9 +201,6 @@ do {                                                                        \
 /* Defined in svr4.h.  */
 
 #define PCC_BITFIELD_TYPE_MATTERS 1
-
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 \f
 /* Layout of Source Language Data Types */
 
index fe22224..32ee2d7 100644 (file)
@@ -122,8 +122,6 @@ extern int target_flags;
 /* Defined in svr4.h.  */
 #define PCC_BITFIELD_TYPE_MATTERS 1
 
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 /*}}}*/ \f
 /*{{{  Layout of Source Language Data Types.  */ 
 
index d0eb650..414fe27 100644 (file)
@@ -748,29 +748,6 @@ extern int g_switch_set;          /* whether -G xx was passed.  */
    Defined in svr4.h.  */
 #define PCC_BITFIELD_TYPE_MATTERS 1
 
-/* A code distinguishing the floating point format of the target machine.
-   There are three defined values:
-
-   IEEE_FLOAT_FORMAT'
-        This code indicates IEEE floating point.  It is the default;
-        there is no need to define this macro when the format is IEEE.
-
-   VAX_FLOAT_FORMAT'
-        This code indicates the peculiar format used on the VAX.
-
-   UNKNOWN_FLOAT_FORMAT'
-        This code indicates any other format.
-
-   The value of this macro is compared with `HOST_FLOAT_FORMAT'
-   to determine whether the target machine has the same format as
-   the host machine.  If any other formats are actually in use on supported
-   machines, new codes should be defined for them.
-
-   The ordering of the component words of floating point values stored in
-   memory is controlled by `FLOAT_WORDS_BIG_ENDIAN' for the target machine and
-   `HOST_FLOAT_WORDS_BIG_ENDIAN' for the host.  */
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 /* GNU CC supports two ways of implementing C++ vtables: traditional or with
    so-called "thunks".  The flag `-fvtable-thunk' chooses between them.  Define
    this macro to be a C expression for the default value of that flag.  If
index 458e253..8c8708d 100644 (file)
@@ -342,9 +342,6 @@ while (0)
 /* Allow pairs of registers to be used, which is the intent of the default.  */
 #define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (TImode)
 
-/* A code distinguishing the floating point format of the target machine.  */
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 /* By default, the C++ compiler will use function addresses in the
    vtable entries.  Setting this nonzero tells the compiler to use
    function descriptors instead.  The value of this macro says how
index 2f5cfbc..dbafef4 100644 (file)
@@ -2481,8 +2481,6 @@ extern int ip2k_reorg_merge_qimode;
     = gen_rtx_SYMBOL_REF (Pmode, "_cmpsi2");           \
 }
 
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 #define PREDICATE_CODES                                        \
   {"ip2k_ip_operand", {MEM}},                          \
   {"ip2k_short_operand", {MEM}},                       \
index 73d941a..f254f8c 100644 (file)
@@ -2687,10 +2687,6 @@ extern enum reg_class mips_char_to_class[256];
        (PRETEND_SIZE) = mips_setup_incoming_varargs (&(CUM), (MODE),   \
                                                      (TYPE), (NO_RTL))
 \f
-
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
-\f
 #define STRICT_ARGUMENT_NAMING (mips_abi != ABI_32 && mips_abi != ABI_O64)
 
 /* Define a data type for recording info about an argument list
index f9ed30a..7a30aa7 100644 (file)
@@ -126,9 +126,6 @@ do {                                                                        \
 
 /* Defined in svr4.h.  */
 #define PCC_BITFIELD_TYPE_MATTERS 1
-
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 \f
 /* Layout of Source Language Data Types */
 
index 3acf5b0..84bb057 100644 (file)
@@ -855,9 +855,6 @@ extern enum reg_class xtensa_char_to_class[256];
 #define FUNCTION_ARG_REGNO_P(N)                                                \
   ((N) >= GP_OUTGOING_ARG_FIRST && (N) <= GP_OUTGOING_ARG_LAST)
 
-/* Use IEEE floating-point format.  */
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
 /* Define a data type for recording info about an argument list
    during the scan of that argument list.  This data type should
    hold all necessary information about the function itself
index 17b8bf9..3412775 100644 (file)
@@ -523,6 +523,18 @@ You Lose!  You must define PREFERRED_DEBUGGING_TYPE!
 #define FUNCTION_ARG_REG_LITTLE_ENDIAN 0
 #endif
 
+/* Define codes for all the float formats that we know of.  */
+#define UNKNOWN_FLOAT_FORMAT 0
+#define IEEE_FLOAT_FORMAT 1
+#define VAX_FLOAT_FORMAT 2
+#define IBM_FLOAT_FORMAT 3
+#define C4X_FLOAT_FORMAT 4
+
+/* Default to IEEE float if not specified.  Nearly all machines use it.  */
+#ifndef TARGET_FLOAT_FORMAT
+#define        TARGET_FLOAT_FORMAT     IEEE_FLOAT_FORMAT
+#endif
+
 /* Determine the register class for registers suitable to be the base
    address register in a MEM.  Allow the choice to be dependent upon
    the mode of the memory access.  */
index 24df216..7ac10ff 100644 (file)
@@ -151,19 +151,6 @@ extern void real_2expN             PARAMS ((REAL_VALUE_TYPE *, int));
 /* ====================================================================== */
 /* Crap.  */
 
-/* Define codes for all the float formats that we know of.  */
-#define UNKNOWN_FLOAT_FORMAT 0
-#define IEEE_FLOAT_FORMAT 1
-#define VAX_FLOAT_FORMAT 2
-#define IBM_FLOAT_FORMAT 3
-#define C4X_FLOAT_FORMAT 4
-
-/* Default to IEEE float if not specified.  Nearly all machines use it.  */
-
-#ifndef TARGET_FLOAT_FORMAT
-#define        TARGET_FLOAT_FORMAT     IEEE_FLOAT_FORMAT
-#endif
-
 #define REAL_ARITHMETIC(value, code, d1, d2) \
   real_arithmetic (&(value), code, &(d1), &(d2))