i386.c (nocona_cost, [...]): Update preffered memcpy/memset codegen.

* i386.c (nocona_cost, pentium4_cost): Update preffered memcpy/memset
	codegen.

From-SVN: r119620
This commit is contained in:
Jan Hubicka 2006-12-07 13:56:02 +01:00 committed by Jan Hubicka
parent 5daffcc76e
commit e850f0281c
2 changed files with 9 additions and 4 deletions

View 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;

View 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}}}}