aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-09-19 17:42:55 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2013-09-19 15:42:55 +0000
commitb7b28c53d0c9aa19a73d345100e592e94f5f5470 (patch)
tree6eca082f8638c467eb809987710135cac127c45c /gcc/config
parent83ae86f5b7671f22d7fc3581c3632f92537eb539 (diff)
downloadgcc-b7b28c53d0c9aa19a73d345100e592e94f5f5470.zip
gcc-b7b28c53d0c9aa19a73d345100e592e94f5f5470.tar.gz
gcc-b7b28c53d0c9aa19a73d345100e592e94f5f5470.tar.bz2
* i386.c (generic_memcpy, generic_memset): Fix 32bit template.
From-SVN: r202747
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c6
1 files changed, 4 insertions, 2 deletions
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