aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-09-08 13:22:56 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2014-09-08 13:22:56 +0100
commit9686a2e668aad033ef12b48c2d1e7f1ce6796838 (patch)
tree6dbbe825a64b695203807e29716fb3fb42988da6 /gcc
parente45fcf805f672888582a67ae5b5e99dce292c581 (diff)
downloadgcc-9686a2e668aad033ef12b48c2d1e7f1ce6796838.zip
gcc-9686a2e668aad033ef12b48c2d1e7f1ce6796838.tar.gz
gcc-9686a2e668aad033ef12b48c2d1e7f1ce6796838.tar.bz2
Remove no-longer-needed fp-bit target macros.
gcc: * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): Remove. * doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL): Remove. * doc/tm.texi: Regenerate. * system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): Poison. * config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove. * config/cris/cris.h (__make_dp): Remove. libgcc: * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL and ROUND_TOWARDS_ZERO conditionals. From-SVN: r215013
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/config/arm/arm.h3
-rw-r--r--gcc/config/cris/cris.h8
-rw-r--r--gcc/defaults.h8
-rw-r--r--gcc/doc/tm.texi21
-rw-r--r--gcc/doc/tm.texi.in21
-rw-r--r--gcc/system.h3
7 files changed, 14 insertions, 62 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f25d4e4..4d882a1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,15 @@
+2014-09-08 Joseph Myers <joseph@codesourcery.com>
+
+ * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
+ Remove.
+ * doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
+ Remove.
+ * doc/tm.texi: Regenerate.
+ * system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
+ Poison.
+ * config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
+ * config/cris/cris.h (__make_dp): Remove.
+
2014-09-08 Richard Biener <rguenther@suse.de>
PR bootstrap/63204
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 96e8626..ff4ddac 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -440,9 +440,6 @@ extern int arm_fpu_attr;
#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT
#endif
-#define LARGEST_EXPONENT_IS_NORMAL(bits) \
- ((bits) == 16 && arm_fp16_format == ARM_FP16_FORMAT_ALTERNATIVE)
-
#ifndef ARM_DEFAULT_ABI
#define ARM_DEFAULT_ABI ARM_ABI_APCS
#endif
diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h
index 12b1ea8..fb8ec93 100644
--- a/gcc/config/cris/cris.h
+++ b/gcc/config/cris/cris.h
@@ -80,14 +80,6 @@ along with GCC; see the file COPYING3. If not see
/* Which CPU version this is. The parsed and adjusted cris_cpu_str. */
extern int cris_cpu_version;
-/* Changing the order used to be necessary to put the fourth __make_dp
- argument (a DImode parameter) in registers, to fit with the libfunc
- parameter passing scheme used for intrinsic functions. FIXME: Check
- performance. */
-#ifdef IN_LIBGCC2
-#define __make_dp(a,b,c,d) __cris_make_dp(d,a,b,c)
-#endif
-
/* Node: Driver */
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 1a9950d..c1776b0 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -926,14 +926,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define PREFERRED_DEBUGGING_TYPE NO_DEBUG
#endif
-#ifndef LARGEST_EXPONENT_IS_NORMAL
-#define LARGEST_EXPONENT_IS_NORMAL(SIZE) 0
-#endif
-
-#ifndef ROUND_TOWARDS_ZERO
-#define ROUND_TOWARDS_ZERO 0
-#endif
-
#ifndef FLOAT_LIB_COMPARE_RETURNS_BOOL
#define FLOAT_LIB_COMPARE_RETURNS_BOOL(MODE, COMPARISON) false
#endif
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 9496477..904ee5a 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -1341,27 +1341,6 @@ Return machine mode to be used for @code{_Unwind_Word} type.
The default is to use @code{word_mode}.
@end deftypefn
-@defmac ROUND_TOWARDS_ZERO
-If defined, this macro should be true if the prevailing rounding
-mode is towards zero.
-
-Defining this macro only affects the way @file{libgcc.a} emulates
-floating-point arithmetic.
-
-Not defining this macro is equivalent to returning zero.
-@end defmac
-
-@defmac LARGEST_EXPONENT_IS_NORMAL (@var{size})
-This macro should return true if floats with @var{size}
-bits do not have a NaN or infinity representation, but use the largest
-exponent for normal numbers instead.
-
-Defining this macro only affects the way @file{libgcc.a} emulates
-floating-point arithmetic.
-
-The default definition of this macro returns false for all sizes.
-@end defmac
-
@deftypefn {Target Hook} bool TARGET_MS_BITFIELD_LAYOUT_P (const_tree @var{record_type})
This target hook returns @code{true} if bit-fields in the given
@var{record_type} are to be laid out following the rules of Microsoft
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index 152d37d..50d1ac1 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -1255,27 +1255,6 @@ pattern needs to support both a 32- and a 64-bit mode.
@hook TARGET_UNWIND_WORD_MODE
-@defmac ROUND_TOWARDS_ZERO
-If defined, this macro should be true if the prevailing rounding
-mode is towards zero.
-
-Defining this macro only affects the way @file{libgcc.a} emulates
-floating-point arithmetic.
-
-Not defining this macro is equivalent to returning zero.
-@end defmac
-
-@defmac LARGEST_EXPONENT_IS_NORMAL (@var{size})
-This macro should return true if floats with @var{size}
-bits do not have a NaN or infinity representation, but use the largest
-exponent for normal numbers instead.
-
-Defining this macro only affects the way @file{libgcc.a} emulates
-floating-point arithmetic.
-
-The default definition of this macro returns false for all sizes.
-@end defmac
-
@hook TARGET_MS_BITFIELD_LAYOUT_P
@hook TARGET_DECIMAL_FLOAT_SUPPORTED_P
diff --git a/gcc/system.h b/gcc/system.h
index a2c8f77..a1e89f4 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -934,7 +934,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
REG_CLASS_FROM_CONSTRAINT REG_CLASS_FOR_CONSTRAINT \
EXTRA_CONSTRAINT_STR EXTRA_MEMORY_CONSTRAINT \
EXTRA_ADDRESS_CONSTRAINT CONST_DOUBLE_OK_FOR_CONSTRAINT_P \
- CALLER_SAVE_PROFITABLE
+ CALLER_SAVE_PROFITABLE LARGEST_EXPONENT_IS_NORMAL \
+ ROUND_TOWARDS_ZERO
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \