* i386.c (generic_memcpy, generic_memset): Fix 32bit template.
authorJan Hubicka <jh@suse.cz>
Thu, 19 Sep 2013 15:42:55 +0000 (17:42 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 19 Sep 2013 15:42:55 +0000 (15:42 +0000)
From-SVN: r202747

gcc/ChangeLog
gcc/config/i386/i386.c

index 0f73b072dea1614c621cb16b94298501ba7fb3dc..acf941874b91635b5692a99125ef40aa1372d9d8 100644 (file)
@@ -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
index b6f3c2d748f00d73d217c66723e4cc4be22cd40c..46c37d800d2e14fbfbfbc045953816bbe4b2f451 100644 (file)
@@ -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