From b7b28c53d0c9aa19a73d345100e592e94f5f5470 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 19 Sep 2013 17:42:55 +0200 Subject: [PATCH] * i386.c (generic_memcpy, generic_memset): Fix 32bit template. From-SVN: r202747 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f73b072dea..acf941874b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-09-19 Jan Hubicka + + * i386.c (generic_memcpy, generic_memset): Fix 32bit template. + 2013-09-17 Jeff Law * tree-ssa-dom.c (record_temporary_equivalences): New function diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b6f3c2d748f..46c37d800d2 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 -- 2.30.2