(movdf+2): Allow `f' register as source operand in

first alternative.

From-SVN: r5070
This commit is contained in:
Richard Stallman 1993-08-04 22:34:32 +00:00
parent 05b4c365bb
commit 543624ee23

View File

@ -203,22 +203,21 @@
(define_insn ""
[(set (match_operand:DF 0 "memory_operand" "=o,m")
(match_operand:DF 1 "register_operand" "r,f"))]
(match_operand:DF 1 "register_operand" "rf,f"))]
""
"*
{
if (which_alternative == 0) /* r -> o */
{
rtx xops[4];
xops[0] = operands[0];
if (REGNO (operands[1]) >= 16) /* f -> m */
return \"stord %1,%0\";
xops[0] = operands[0]; /* r -> o */
xops[1] = adj_offsettable_operand (operands[0], 4);
xops[2] = operands[1];
xops[3] = gen_rtx (REG, SImode, REGNO (operands[1]) + 1);
output_asm_insn (\"storw %2,%0\;storw %3,%1\", xops);
return \"\";
}
return \"stord %1,%0\"; /* f-> m */
}"
[(set_attr "type" "store,store")
(set_attr "cc" "clobber,unchanged")])