From: Stan Cox Date: Fri, 31 May 1996 21:14:51 +0000 (+0000) Subject: (epilogue_set_stack_ptr): New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bca7cce204332f339ef61ce85076f3ef9b73ac1b;p=gcc.git (epilogue_set_stack_ptr): New. From-SVN: r12138 --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 024b09b9727..303e99ae35a 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -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; }")