aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2016-11-23 17:24:28 +0000
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>2016-11-23 17:24:28 +0000
commit8f23c89a5fd677301137917b2658e564f770acd5 (patch)
treef8639dd9c19a21d1ba8caae85c96c5178d455d9b /gcc/config
parent56d8ffc170912cb1dee5900799acaf5d4857fde9 (diff)
downloadgcc-8f23c89a5fd677301137917b2658e564f770acd5.zip
gcc-8f23c89a5fd677301137917b2658e564f770acd5.tar.gz
gcc-8f23c89a5fd677301137917b2658e564f770acd5.tar.bz2
[Patch 7/17] Delete TARGET_FLT_EVAL_METHOD and poison it.
gcc/ * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Delete. * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): Delete. * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Delete. * defaults.h (TARGET_FLT_EVAL_METHOD): Delete. * doc/tm.texi.in (TARGET_FLT_EVAL_METHOD): Delete. * doc/tm.texi: Regenerate. * system.h (TARGET_FLT_EVAL_METHOD): Poison. From-SVN: r242777
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.h11
-rw-r--r--gcc/config/m68k/m68k.h5
-rw-r--r--gcc/config/s390/s390.h5
3 files changed, 0 insertions, 21 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 05d197c..83ffd4e 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -690,17 +690,6 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
SUBTARGET_EXTRA_SPECS
-/* Set the value of FLT_EVAL_METHOD in float.h. When using only the
- FPU, assume that the fpcw is set to extended precision; when using
- only SSE, rounding is correct; when using both SSE and the FPU,
- the rounding precision is indeterminate, since either may be chosen
- apparently at random. */
-#define TARGET_FLT_EVAL_METHOD \
- (TARGET_80387 \
- ? (TARGET_MIX_SSE_I387 ? -1 \
- : (TARGET_SSE_MATH ? (TARGET_SSE2 ? 0 : -1) : 2)) \
- : 0)
-
/* Whether to allow x87 floating-point arithmetic on MODE (one of
SFmode, DFmode and XFmode) in the current excess precision
configuration. */
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 7b63bd2..6837d41 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -281,11 +281,6 @@ along with GCC; see the file COPYING3. If not see
#define LONG_DOUBLE_TYPE_SIZE \
((TARGET_COLDFIRE || TARGET_FIDOA) ? 64 : 80)
-/* Set the value of FLT_EVAL_METHOD in float.h. When using 68040 fp
- instructions, we get proper intermediate rounding, otherwise we
- get extended precision results. */
-#define TARGET_FLT_EVAL_METHOD ((TARGET_68040 || ! TARGET_68881) ? 0 : 2)
-
#define BITS_BIG_ENDIAN 1
#define BYTES_BIG_ENDIAN 1
#define WORDS_BIG_ENDIAN 1
diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h
index 501c8e4..6be4d34 100644
--- a/gcc/config/s390/s390.h
+++ b/gcc/config/s390/s390.h
@@ -247,11 +247,6 @@ extern const char *s390_host_detect_local_cpu (int argc, const char **argv);
#define S390_TDC_INFINITY (S390_TDC_POSITIVE_INFINITY \
| S390_TDC_NEGATIVE_INFINITY )
-/* This is used by float.h to define the float_t and double_t data
- types. For historical reasons both are double on s390 what cannot
- be changed anymore. */
-#define TARGET_FLT_EVAL_METHOD 1
-
/* Target machine storage layout. */
/* Everything is big-endian. */