diff options
author | Jan Hubicka <jh@suse.cz> | 2013-09-19 17:42:55 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-09-19 15:42:55 +0000 |
commit | b7b28c53d0c9aa19a73d345100e592e94f5f5470 (patch) | |
tree | 6eca082f8638c467eb809987710135cac127c45c /gcc | |
parent | 83ae86f5b7671f22d7fc3581c3632f92537eb539 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 6 |
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 |