Commit 6235f59c by Uros Bizjak Committed by Uros Bizjak

i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for TARGET_SSE_MATH without TARGET_SSE2.

	* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
	TARGET_SSE_MATH without TARGET_SSE2.  Rewrite.

From-SVN: r232328
parent 39a1d8c8
2016-01-13 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
2016-01-13 Yvan Roux <yvan.roux@linaro.org>
* config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
......
......@@ -693,8 +693,11 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
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_MIX_SSE_I387 ? -1 : (TARGET_80387 && !TARGET_SSE_MATH) ? 2 : 0)
#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment