Commit 6bdcc60c by Uros Bizjak

i386.md (expm1xf2): Reorder insn sequence for better code generation.

	* config/i386/i386.md (expm1xf2): Reorder insn sequence for
	better code generation.

From-SVN: r122158
parent 77bb16aa
2007-02-20 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (expm1xf2): Reorder insn sequence for
better code generation.
2007-02-20 Ben Elliston <bje@au.ibm.com> 2007-02-20 Ben Elliston <bje@au.ibm.com>
* config/m68hc11/m68hc11.h (OVERRIDE_OPTIONS): Remove extra ;. * config/m68hc11/m68hc11.h (OVERRIDE_OPTIONS): Remove extra ;.
......
...@@ -17145,6 +17145,7 @@ ...@@ -17145,6 +17145,7 @@
(match_dup 2))) (match_dup 2)))
(set (match_dup 4) (unspec:XF [(match_dup 3)] UNSPEC_FRNDINT)) (set (match_dup 4) (unspec:XF [(match_dup 3)] UNSPEC_FRNDINT))
(set (match_dup 5) (minus:XF (match_dup 3) (match_dup 4))) (set (match_dup 5) (minus:XF (match_dup 3) (match_dup 4)))
(set (match_dup 9) (float_extend:XF (match_dup 13)))
(set (match_dup 6) (unspec:XF [(match_dup 5)] UNSPEC_F2XM1)) (set (match_dup 6) (unspec:XF [(match_dup 5)] UNSPEC_F2XM1))
(parallel [(set (match_dup 7) (parallel [(set (match_dup 7)
(unspec:XF [(match_dup 6) (match_dup 4)] (unspec:XF [(match_dup 6) (match_dup 4)]
...@@ -17158,7 +17159,8 @@ ...@@ -17158,7 +17159,8 @@
(set (match_dup 11) (set (match_dup 11)
(unspec:XF [(match_dup 9) (match_dup 8)] (unspec:XF [(match_dup 9) (match_dup 8)]
UNSPEC_FSCALE_EXP))]) UNSPEC_FSCALE_EXP))])
(set (match_dup 12) (minus:XF (match_dup 10) (match_dup 9))) (set (match_dup 12) (minus:XF (match_dup 10)
(float_extend:XF (match_dup 13))))
(set (match_operand:XF 0 "register_operand" "") (set (match_operand:XF 0 "register_operand" "")
(plus:XF (match_dup 12) (match_dup 7)))] (plus:XF (match_dup 12) (match_dup 7)))]
"TARGET_USE_FANCY_MATH_387 "TARGET_USE_FANCY_MATH_387
...@@ -17169,8 +17171,10 @@ ...@@ -17169,8 +17171,10 @@
for (i = 2; i < 13; i++) for (i = 2; i < 13; i++)
operands[i] = gen_reg_rtx (XFmode); operands[i] = gen_reg_rtx (XFmode);
operands[13]
= validize_mem (force_const_mem (SFmode, CONST1_RTX (SFmode))); /* fld1 */
emit_move_insn (operands[2], standard_80387_constant_rtx (5)); /* fldl2e */ emit_move_insn (operands[2], standard_80387_constant_rtx (5)); /* fldl2e */
emit_move_insn (operands[9], CONST1_RTX (XFmode)); /* fld1 */
}) })
(define_expand "expm1<mode>2" (define_expand "expm1<mode>2"
......
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