]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (nocona_cost, [...]): Update preffered memcpy/memset codegen.
authorJan Hubicka <jh@suse.cz>
Thu, 7 Dec 2006 12:56:02 +0000 (13:56 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 7 Dec 2006 12:56:02 +0000 (12:56 +0000)
* i386.c (nocona_cost, pentium4_cost): Update preffered memcpy/memset
codegen.

From-SVN: r119620

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

index aac2bb13e2908e74a08c03557121650bd8b48f37..4c63be49300e03a7acbbc517346908668e7a692a 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-07  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (nocona_cost, pentium4_cost): Update preffered memcpy/memset
+       codegen.
+
 2006-12-07  Jan Hubicka  <jh@suse.cz>
 
        * tree-vrp.c (compare_values): Short circuit INTEGER_CST;
index 9dc2feb3d0570e0b0f3a8b5e854462bf0bfb2f1a..fd5c27cc0fc71de14a1602155dd5c0b8531ce542 100644 (file)
@@ -655,9 +655,9 @@ struct processor_costs pentium4_cost = {
   COSTS_N_INSNS (2),                   /* cost of FABS instruction.  */
   COSTS_N_INSNS (2),                   /* cost of FCHS instruction.  */
   COSTS_N_INSNS (43),                  /* cost of FSQRT instruction.  */
-  {{libcall, {{12, loop_1_byte}, {64, loop}, {-1, rep_prefix_4_byte}}},
+  {{libcall, {{12, loop_1_byte}, {-1, rep_prefix_4_byte}}},
    DUMMY_STRINGOP_ALGS},
-  {{libcall, {{6, loop_1_byte}, {64, loop}, {20480, rep_prefix_4_byte},
+  {{libcall, {{6, loop_1_byte}, {48, loop}, {20480, rep_prefix_4_byte},
    {-1, libcall}}},
    DUMMY_STRINGOP_ALGS},
 };
@@ -713,10 +713,10 @@ struct processor_costs nocona_cost = {
   COSTS_N_INSNS (3),                   /* cost of FABS instruction.  */
   COSTS_N_INSNS (3),                   /* cost of FCHS instruction.  */
   COSTS_N_INSNS (44),                  /* cost of FSQRT instruction.  */
-  {{libcall, {{12, loop_1_byte}, {64, loop}, {-1, rep_prefix_4_byte}}},
+  {{libcall, {{12, loop_1_byte}, {-1, rep_prefix_4_byte}}},
    {libcall, {{32, loop}, {20000, rep_prefix_8_byte},
              {100000, unrolled_loop}, {-1, libcall}}}},
-  {{libcall, {{6, loop_1_byte}, {64, loop}, {20480, rep_prefix_4_byte},
+  {{libcall, {{6, loop_1_byte}, {48, loop}, {20480, rep_prefix_4_byte},
    {-1, libcall}}},
    {libcall, {{24, loop}, {64, unrolled_loop},
              {8192, rep_prefix_8_byte}, {-1, libcall}}}}