Commit 4f2611b6 by Uros Bizjak Committed by Uros Bizjak

i386.md (fmodxf3): Enable for flag_finite_math_only only.

	* config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
	(fmod<mode>3): Ditto.
	(fpremxf4_i387): Ditto.
	(reminderxf3): Ditto.
	(reminder<mode>3): Ditto.
	(fprem1xf4_i387): Ditto.

From-SVN: r215740
parent 63e037f4
2014-09-30 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
(fmod<mode>3): Ditto.
(fpremxf4_i387): Ditto.
(reminderxf3): Ditto.
(reminder<mode>3): Ditto.
(fprem1xf4_i387): Ditto.
2014-09-30 Teresa Johnson <tejohnson@google.com>
* tree-ssa-threadupdate.c (struct ssa_local_info_t): New
......@@ -13813,7 +13813,8 @@
(set (reg:CCFP FPSR_REG)
(unspec:CCFP [(match_dup 2) (match_dup 3)]
UNSPEC_C2_FLAG))]
"TARGET_USE_FANCY_MATH_387"
"TARGET_USE_FANCY_MATH_387
&& flag_finite_math_only"
"fprem"
[(set_attr "type" "fpspc")
(set_attr "mode" "XF")])
......@@ -13822,7 +13823,8 @@
[(use (match_operand:XF 0 "register_operand"))
(use (match_operand:XF 1 "general_operand"))
(use (match_operand:XF 2 "general_operand"))]
"TARGET_USE_FANCY_MATH_387"
"TARGET_USE_FANCY_MATH_387
&& flag_finite_math_only"
{
rtx_code_label *label = gen_label_rtx ();
......@@ -13845,7 +13847,8 @@
[(use (match_operand:MODEF 0 "register_operand"))
(use (match_operand:MODEF 1 "general_operand"))
(use (match_operand:MODEF 2 "general_operand"))]
"TARGET_USE_FANCY_MATH_387"
"TARGET_USE_FANCY_MATH_387
&& flag_finite_math_only"
{
rtx (*gen_truncxf) (rtx, rtx);
......@@ -13884,7 +13887,8 @@
(set (reg:CCFP FPSR_REG)
(unspec:CCFP [(match_dup 2) (match_dup 3)]
UNSPEC_C2_FLAG))]
"TARGET_USE_FANCY_MATH_387"
"TARGET_USE_FANCY_MATH_387
&& flag_finite_math_only"
"fprem1"
[(set_attr "type" "fpspc")
(set_attr "mode" "XF")])
......@@ -13893,7 +13897,8 @@
[(use (match_operand:XF 0 "register_operand"))
(use (match_operand:XF 1 "general_operand"))
(use (match_operand:XF 2 "general_operand"))]
"TARGET_USE_FANCY_MATH_387"
"TARGET_USE_FANCY_MATH_387
&& flag_finite_math_only"
{
rtx_code_label *label = gen_label_rtx ();
......@@ -13916,7 +13921,8 @@
[(use (match_operand:MODEF 0 "register_operand"))
(use (match_operand:MODEF 1 "general_operand"))
(use (match_operand:MODEF 2 "general_operand"))]
"TARGET_USE_FANCY_MATH_387"
"TARGET_USE_FANCY_MATH_387
&& flag_finite_math_only"
{
rtx (*gen_truncxf) (rtx, rtx);
......
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