Commit 6cd96118 by Stan Cox

(return_pop_internal): new pattern.

(pop): disable emitting of bogus move instruction.

From-SVN: r12074
parent c5ad722c
......@@ -5997,6 +5997,12 @@
"reload_completed"
"ret")
(define_insn "return_pop_internal"
[(return)
(use (match_operand:SI 0 "const_int_operand" ""))]
"reload_completed"
"ret %0")
(define_insn "nop"
[(const_int 0)]
""
......@@ -6072,12 +6078,14 @@
""
"*
{
#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