Commit 9f567f56 by John Wehle Committed by Jeff Law

i386.md (movsf+1, [...]): Update constraints so that SECONDARY_MEMORY_RELOAD is used.

        * i386.md (movsf+1, movdf+1, movxf+1): Update constraints
        so that SECONDARY_MEMORY_RELOAD is used.  Remove dead code.

From-SVN: r26121
parent c095d84a
Fri Apr 2 11:53:37 1999 John Wehle (john@feith.com)
* i386.md (movsf+1, movdf+1, movxf+1): Update constraints
so that SECONDARY_MEMORY_RELOAD is used. Remove dead code.
1999-04-02 Bruce Korb <ddsinc09@ix.netcom.com> 1999-04-02 Bruce Korb <ddsinc09@ix.netcom.com>
* fixinc/mkfixinc.sh: added support for x86-interix * fixinc/mkfixinc.sh: added support for x86-interix
......
...@@ -1401,8 +1401,8 @@ ...@@ -1401,8 +1401,8 @@
;; For the purposes of regclass, prefer FLOAT_REGS. ;; For the purposes of regclass, prefer FLOAT_REGS.
(define_insn "" (define_insn ""
[(set (match_operand:SF 0 "nonimmediate_operand" "=*rfm,*rf,f,!*rm") [(set (match_operand:SF 0 "nonimmediate_operand" "=f,m,!*r,!m")
(match_operand:SF 1 "general_operand" "*rf,*rfm,fG,fF"))] (match_operand:SF 1 "general_operand" "fmG,f,*rmF,*rF"))]
"(!TARGET_MOVE || GET_CODE (operands[0]) != MEM) || (GET_CODE (operands[1]) != MEM)" "(!TARGET_MOVE || GET_CODE (operands[0]) != MEM) || (GET_CODE (operands[1]) != MEM)"
"* "*
{ {
...@@ -1418,20 +1418,6 @@ ...@@ -1418,20 +1418,6 @@
return AS1 (fld,%y0); return AS1 (fld,%y0);
} }
/* Handle a transfer between the 387 and a 386 register */
if (STACK_TOP_P (operands[0]) && NON_STACK_REG_P (operands[1]))
{
output_op_from_reg (operands[1], AS1 (fld%z0,%y1));
RET;
}
if (STACK_TOP_P (operands[1]) && NON_STACK_REG_P (operands[0]))
{
output_to_reg (operands[0], stack_top_dies, 0);
RET;
}
/* Handle other kinds of writes from the 387 */ /* Handle other kinds of writes from the 387 */
if (STACK_TOP_P (operands[1])) if (STACK_TOP_P (operands[1]))
...@@ -1538,8 +1524,8 @@ ...@@ -1538,8 +1524,8 @@
;; For the purposes of regclass, prefer FLOAT_REGS. ;; For the purposes of regclass, prefer FLOAT_REGS.
(define_insn "" (define_insn ""
[(set (match_operand:DF 0 "nonimmediate_operand" "=f,fm,!*rf,!*rm") [(set (match_operand:DF 0 "nonimmediate_operand" "=f,m,!*r,!o")
(match_operand:DF 1 "general_operand" "fmG,f,*rfm,*rfF"))] (match_operand:DF 1 "general_operand" "fmG,f,*roF,*rF"))]
"(!TARGET_MOVE || GET_CODE (operands[0]) != MEM) "(!TARGET_MOVE || GET_CODE (operands[0]) != MEM)
|| (GET_CODE (operands[1]) != MEM)" || (GET_CODE (operands[1]) != MEM)"
"* "*
...@@ -1556,20 +1542,6 @@ ...@@ -1556,20 +1542,6 @@
return AS1 (fld,%y0); return AS1 (fld,%y0);
} }
/* Handle a transfer between the 387 and a 386 register */
if (STACK_TOP_P (operands[0]) && NON_STACK_REG_P (operands[1]))
{
output_op_from_reg (operands[1], AS1 (fld%z0,%y1));
RET;
}
if (STACK_TOP_P (operands[1]) && NON_STACK_REG_P (operands[0]))
{
output_to_reg (operands[0], stack_top_dies, 0);
RET;
}
/* Handle other kinds of writes from the 387 */ /* Handle other kinds of writes from the 387 */
if (STACK_TOP_P (operands[1])) if (STACK_TOP_P (operands[1]))
...@@ -1675,8 +1647,8 @@ ...@@ -1675,8 +1647,8 @@
(define_insn "" (define_insn ""
[(set (match_operand:XF 0 "nonimmediate_operand" "=f,fm,!*rf,!*rm") [(set (match_operand:XF 0 "nonimmediate_operand" "=f,m,!*r,!o")
(match_operand:XF 1 "general_operand" "fmG,f,*rfm,*rfF"))] (match_operand:XF 1 "general_operand" "fmG,f,*roF,*rF"))]
"(!TARGET_MOVE || GET_CODE (operands[0]) != MEM) "(!TARGET_MOVE || GET_CODE (operands[0]) != MEM)
|| (GET_CODE (operands[1]) != MEM)" || (GET_CODE (operands[1]) != MEM)"
"* "*
...@@ -1693,20 +1665,6 @@ ...@@ -1693,20 +1665,6 @@
return AS1 (fld,%y0); return AS1 (fld,%y0);
} }
/* Handle a transfer between the 387 and a 386 register */
if (STACK_TOP_P (operands[0]) && NON_STACK_REG_P (operands[1]))
{
output_op_from_reg (operands[1], AS1 (fld%z0,%y1));
RET;
}
if (STACK_TOP_P (operands[1]) && NON_STACK_REG_P (operands[0]))
{
output_to_reg (operands[0], stack_top_dies, 0);
RET;
}
/* Handle other kinds of writes from the 387 */ /* Handle other kinds of writes from the 387 */
if (STACK_TOP_P (operands[1])) if (STACK_TOP_P (operands[1]))
......
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