(output_load_address, output_size_for_block_move,
authorJim Wilson <wilson@gcc.gnu.org>
Sun, 25 Apr 1993 21:17:59 +0000 (14:17 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Sun, 25 Apr 1993 21:17:59 +0000 (14:17 -0700)
output_block_move): Ifdef out.

From-SVN: r4219

gcc/config/sparc/sparc.c

index f65ea0a63f892cdfd4cf05e1aae4f8259c10b729..f75d69a3e32d9ebb2ffeaaa32e8dcbc464196aab 100644 (file)
@@ -1549,6 +1549,18 @@ output_move_with_extension (operands)
     abort ();
 }
 \f
+#if 0
+/* ??? These are only used by the movstrsi pattern, but we get better code
+   in general without that, because emit_block_move can do just as good a
+   job as this function does when alignment and size are known.  When they
+   aren't known, a call to strcpy may be faster anyways, because it is
+   likely to be carefully crafted assembly language code, and below we just
+   do a byte-wise copy.
+
+   Also, emit_block_move expands into multiple read/write RTL insns, which
+   can then be optimized, whereas our movstrsi pattern can not be optimized
+   at all.  */
+
 /* Load the address specified by OPERANDS[3] into the register
    specified by OPERANDS[0].
 
@@ -1825,6 +1837,7 @@ output_block_move (operands)
 
   return "";
 }
+#endif
 \f
 /* Output reasonable peephole for set-on-condition-code insns.
    Note that these insns assume a particular way of defining