Commit 05eb5cc3 by Kaz Kojima

re PR target/49880 (SuperH: ICE when -m4 is used with -mdiv=call-div1)

	PR target/49880
	* config/sh/sh.md (udivsi3_i1): Enable for TARGET_DIVIDE_CALL_DIV1.
	(divsi3_i1): Likewise.

From-SVN: r176990
parent 2583cc9a
2011-07-31 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/49880
* config/sh/sh.md (udivsi3_i1): Enable for TARGET_DIVIDE_CALL_DIV1.
(divsi3_i1): Likewise.
2011-07-31 Bill Schmidt <wschmidt@linux.vnet.ibm.com> 2011-07-31 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/49749 PR tree-optimization/49749
......
...@@ -1609,7 +1609,7 @@ ...@@ -1609,7 +1609,7 @@
(clobber (reg:SI PR_REG)) (clobber (reg:SI PR_REG))
(clobber (reg:SI R4_REG)) (clobber (reg:SI R4_REG))
(use (match_operand:SI 1 "arith_reg_operand" "r"))] (use (match_operand:SI 1 "arith_reg_operand" "r"))]
"TARGET_SH1 && ! TARGET_SH4" "TARGET_SH1 && (! TARGET_SH4 || TARGET_DIVIDE_CALL_DIV1)"
"jsr @%1%#" "jsr @%1%#"
[(set_attr "type" "sfunc") [(set_attr "type" "sfunc")
(set_attr "needs_delay_slot" "yes")]) (set_attr "needs_delay_slot" "yes")])
...@@ -1815,7 +1815,7 @@ ...@@ -1815,7 +1815,7 @@
(clobber (reg:SI R2_REG)) (clobber (reg:SI R2_REG))
(clobber (reg:SI R3_REG)) (clobber (reg:SI R3_REG))
(use (match_operand:SI 1 "arith_reg_operand" "r"))] (use (match_operand:SI 1 "arith_reg_operand" "r"))]
"TARGET_SH1 && ! TARGET_SH4" "TARGET_SH1 && (! TARGET_SH4 || TARGET_DIVIDE_CALL_DIV1)"
"jsr @%1%#" "jsr @%1%#"
[(set_attr "type" "sfunc") [(set_attr "type" "sfunc")
(set_attr "needs_delay_slot" "yes")]) (set_attr "needs_delay_slot" "yes")])
......
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