Commit bca7cce2 by Stan Cox

(epilogue_set_stack_ptr): New.

From-SVN: r12138
parent b1060ee3
......@@ -6066,6 +6066,20 @@
DONE;
}")
(define_insn "epilogue_set_stack_ptr"
[(set (reg:SI 7) (reg:SI 6))
(clobber (reg:SI 6))]
""
"*
{
rtx xops [2];
xops[0] = frame_pointer_rtx;
xops[1] = stack_pointer_rtx;
output_asm_insn (AS2 (mov%L0,%0,%1), xops);
RET;
}")
(define_insn "leave"
[(const_int 2)]
""
......@@ -6078,14 +6092,6 @@
""
"*
{
#if 0
rtx xops [2];
xops[0] = frame_pointer_rtx;
xops[1] = stack_pointer_rtx;
if (operands[0] == frame_pointer_rtx)
output_asm_insn (AS2 (mov%L0,%0,%1), xops);
#endif
output_asm_insn (AS1 (pop%L0,%P0), operands);
RET;
}")
......
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