Commit e7e5df70 by Richard Kenner

(power subdi3 pattern): Fix pattern to have 5 alternatives, and

correct 4th alternative to match reality.

From-SVN: r10343
parent 849a528d
......@@ -3565,14 +3565,15 @@
}")
(define_insn ""
[(set (match_operand:DI 0 "gpc_reg_operand" "=&r,&r,r,r")
(minus:DI (match_operand:DI 1 "reg_or_short_operand" "r,I,0,r")
(match_operand:DI 2 "gpc_reg_operand" "r,r,r,0")))]
[(set (match_operand:DI 0 "gpc_reg_operand" "=&r,&r,r,r,r")
(minus:DI (match_operand:DI 1 "reg_or_short_operand" "r,I,0,r,I")
(match_operand:DI 2 "gpc_reg_operand" "r,r,r,0,0")))]
"TARGET_POWER && ! TARGET_POWERPC64"
"@
{sf|subfc} %L0,%L2,%L1\;{sfe|subfe} %0,%2,%1
{sfi|subfic} %L0,%L2,%1\;{sf%G1e|subf%G1e} %0,%2
{sf|subfc} %L0,%L2,%L1\;{sfe|subfe} %0,%2,%1
{sf|subfc} %L0,%L2,%L1\;{sfe|subfe} %0,%2,%1
{sfi|subfic} %L0,%L2,%1\;{sf%G1e|subf%G1e} %0,%2"
[(set_attr "length" "8")])
......
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