(return_pop_internal): new pattern.
authorStan Cox <coxs@gnu.org>
Wed, 22 May 1996 15:12:28 +0000 (15:12 +0000)
committerStan Cox <coxs@gnu.org>
Wed, 22 May 1996 15:12:28 +0000 (15:12 +0000)
(pop): disable emitting of bogus move instruction.

From-SVN: r12074

gcc/config/i386/i386.md

index 3d35f04..024b09b 100644 (file)
   "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)]
   ""
   ""
   "*
 {
+#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;
 }")