From 09aa65598b8246bd1aa136802017a7f190aba022 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Sun, 25 Apr 1993 14:17:59 -0700 Subject: [PATCH] (output_load_address, output_size_for_block_move, output_block_move): Ifdef out. From-SVN: r4219 --- gcc/config/sparc/sparc.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index f65ea0a63f8..f75d69a3e32 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -1549,6 +1549,18 @@ output_move_with_extension (operands) abort (); } +#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 /* Output reasonable peephole for set-on-condition-code insns. Note that these insns assume a particular way of defining -- 2.30.2