aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0f73b07..acf9418 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-09-19 Jan Hubicka <jh@suse.cz>
+
+ * i386.c (generic_memcpy, generic_memset): Fix 32bit template.
+
2013-09-17 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (record_temporary_equivalences): New function
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index b6f3c2d..46c37d8 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1648,11 +1648,13 @@ struct processor_costs slm_cost = {
and btver1 (and newer chips). */
static stringop_algs generic_memcpy[2] = {
- DUMMY_STRINGOP_ALGS,
+ {libcall, {{32, loop, false}, {8192, rep_prefix_4_byte, false},
+ {-1, libcall, false}}},
{libcall, {{32, loop, false}, {8192, rep_prefix_8_byte, false},
{-1, libcall, false}}}};
static stringop_algs generic_memset[2] = {
- DUMMY_STRINGOP_ALGS,
+ {libcall, {{32, loop, false}, {8192, rep_prefix_4_byte, false},
+ {-1, libcall, false}}},
{libcall, {{32, loop, false}, {8192, rep_prefix_8_byte, false},
{-1, libcall, false}}}};
static const