aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-09-19 23:36:36 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-09-19 23:36:36 -0700
commit66d93b5aedd5679033e4abbe30d6b086a16ee823 (patch)
tree5df0f14f58dbab177f244889f99818f0cfcea693 /gcc
parent6ee3db619b283cd330c9f88d28107a1f90f237fb (diff)
downloadgcc-66d93b5aedd5679033e4abbe30d6b086a16ee823.zip
gcc-66d93b5aedd5679033e4abbe30d6b086a16ee823.tar.gz
gcc-66d93b5aedd5679033e4abbe30d6b086a16ee823.tar.bz2
real.h (UNKNOWN_FLOAT_FORMAT, [...]): Move ...
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/arm/arm.h3
-rw-r--r--gcc/config/avr/avr.h2
-rw-r--r--gcc/config/d30v/d30v.h3
-rw-r--r--gcc/config/fr30/fr30.h2
-rw-r--r--gcc/config/frv/frv.h23
-rw-r--r--gcc/config/ia64/ia64.h3
-rw-r--r--gcc/config/ip2k/ip2k.h2
-rw-r--r--gcc/config/mips/mips.h4
-rw-r--r--gcc/config/stormy16/stormy16.h3
-rw-r--r--gcc/config/xtensa/xtensa.h3
-rw-r--r--gcc/defaults.h12
-rw-r--r--gcc/real.h13
13 files changed, 22 insertions, 61 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2496779..ad3f1a4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index bd19a09..ffc0459 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -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
-
/* Standard register usage. */
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index 555bbde..7f9f283 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -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. */
diff --git a/gcc/config/d30v/d30v.h b/gcc/config/d30v/d30v.h
index 6045d90..421f964 100644
--- a/gcc/config/d30v/d30v.h
+++ b/gcc/config/d30v/d30v.h
@@ -201,9 +201,6 @@ do { \
/* Defined in svr4.h. */
#define PCC_BITFIELD_TYPE_MATTERS 1
-
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
/* Layout of Source Language Data Types */
diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h
index fe22224..32ee2d7 100644
--- a/gcc/config/fr30/fr30.h
+++ b/gcc/config/fr30/fr30.h
@@ -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
-
/*}}}*/
/*{{{ Layout of Source Language Data Types. */
diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h
index d0eb650..414fe27 100644
--- a/gcc/config/frv/frv.h
+++ b/gcc/config/frv/frv.h
@@ -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
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index 458e253..8c8708d 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -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
diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h
index 2f5cfbc..dbafef4 100644
--- a/gcc/config/ip2k/ip2k.h
+++ b/gcc/config/ip2k/ip2k.h
@@ -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}}, \
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 73d941a..f254f8c 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -2687,10 +2687,6 @@ extern enum reg_class mips_char_to_class[256];
(PRETEND_SIZE) = mips_setup_incoming_varargs (&(CUM), (MODE), \
(TYPE), (NO_RTL))
-
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
-
#define STRICT_ARGUMENT_NAMING (mips_abi != ABI_32 && mips_abi != ABI_O64)
/* Define a data type for recording info about an argument list
diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h
index f9ed30a..7a30aa7 100644
--- a/gcc/config/stormy16/stormy16.h
+++ b/gcc/config/stormy16/stormy16.h
@@ -126,9 +126,6 @@ do { \
/* Defined in svr4.h. */
#define PCC_BITFIELD_TYPE_MATTERS 1
-
-#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
-
/* Layout of Source Language Data Types */
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index 3acf5b0..84bb057 100644
--- a/gcc/config/xtensa/xtensa.h
+++ b/gcc/config/xtensa/xtensa.h
@@ -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
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 17b8bf9..3412775 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -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. */
diff --git a/gcc/real.h b/gcc/real.h
index 24df216..7ac10ff 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -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))