aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-04-25 14:17:59 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-04-25 14:17:59 -0700
commit09aa65598b8246bd1aa136802017a7f190aba022 (patch)
tree74bae8e4648b2cc428502e020ca18552d6cabb5b
parent9bb7ffda7088261370a2b954b137f4ddb467c038 (diff)
downloadgcc-09aa65598b8246bd1aa136802017a7f190aba022.zip
gcc-09aa65598b8246bd1aa136802017a7f190aba022.tar.gz
gcc-09aa65598b8246bd1aa136802017a7f190aba022.tar.bz2
(output_load_address, output_size_for_block_move,
output_block_move): Ifdef out. From-SVN: r4219
-rw-r--r--gcc/config/sparc/sparc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index f65ea0a..f75d69a3 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