]> gcc.gnu.org Git - gcc.git/commitdiff
(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 3d35f0436d28c51d4532babab32fcacefc13bc3a..024b09b97279aabeb0b6d13f8a2e082404006e36 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;
 }")
This page took 0.072441 seconds and 5 git commands to generate.