aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
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/defaults.h
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/defaults.h')
-rw-r--r--gcc/defaults.h12
1 files changed, 12 insertions, 0 deletions
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. */