]> gcc.gnu.org Git - gcc.git/commitdiff
real.h (UNKNOWN_FLOAT_FORMAT, [...]): Move ...
authorRichard Henderson <rth@redhat.com>
Fri, 20 Sep 2002 06:36:36 +0000 (23:36 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 20 Sep 2002 06:36:36 +0000 (23:36 -0700)
        * 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.

From-SVN: r57336

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 24967792239b9e9cd902fd8fbbad2b2a1644c494..ad3f1a40a0361320ac763ae82e9420c294e3526e 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 bd19a09d4ad8380c589829593c116440435dce2c..ffc04591b78f5acc2659c8efd7200fba802785eb 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 555bbdec8aa5cc05e5dd4c735954d3a21046ac2a..7f9f283e4eefe3ff2284d0cd2365a377e9ad50a7 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 6045d906059964e0e642dc8872d9f920cacd7d3f..421f964913a620152044d10a19fea7d22ffb47ec 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 fe22224a73ff34e3733b051c3e544d7564e6b1eb..32ee2d785495de3e75f9a81777d51a860f123ff4 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 d0eb6508f670c7bbab0799d5088affd372e8f8af..414fe2716ed5120856093fca66cb2bbeb8104967 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 458e253592cd14b1662ae2737679e07fc72d5828..8c8708df9aaf2edc3a0ea4670c994fb617b1ed14 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 2f5cfbc1ffc55df98f8ff2c95fb93fd575b9e0cd..dbafef4290ed0afcb35f507da0e1be449dae5a43 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 73d941adcc02a06b5a08257956b71881893231b9..f254f8ca0c5ec43e308e506d48a3f555abd06119 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 f9ed30a90ab8b01cd2a9b014b2e1ebafe25bb1f6..7a30aa77cc2a7d72e604528d764d848f5088c1fc 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 3acf5b0fdf326215a37c6d3b65176463d9568d20..84bb057dd8f1efec9581e4839287da928eccba90 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 17b8bf9a29e89420cb793d12bc7a31c0633f5473..34127751157b6bb90c5bff35ee50ff3df6670322 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 24df216ec536a586c933f8151138b3fa18d9713a..7ac10ffdd9af19e58414df17d947d27a7919af07 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))
 
This page took 0.110122 seconds and 5 git commands to generate.