x86-tune-costs.h (skylake_memcpy, [...]): Replace rep_prefix with unrolling for size 512.

* config/i386/x86-tune-costs.h (skylake_memcpy,
	skylake_memset): Replace rep_prefix with unrolling for size 512.

Co-Authored-By: Julia Koval <julia.koval@intel.com>

From-SVN: r262871
This commit is contained in:
Andrew Senkevich 2018-07-19 06:49:10 +00:00 committed by Julia Koval
parent 4a4dab51a3
commit 6e559c70b7
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2018-07-19 Andrew Senkevich <andrew.senkevich@intel.com>
Julia Koval <julia.koval@intel.com>
* config/i386/x86-tune-costs.h (skylake_memcpy,
skylake_memset): Replace rep_prefix with unrolling for size 512.
2018-07-18 Kugan Vivekanandarajah <kuganv@linaro.org>
PR middle-end/86544

View file

@ -1518,7 +1518,7 @@ struct processor_costs znver1_cost = {
/* skylake_cost should produce code tuned for Skylake familly of CPUs. */
static stringop_algs skylake_memcpy[2] = {
{libcall, {{1024, rep_prefix_4_byte, true}, {-1, libcall, false}}},
{libcall, {{16, loop, false}, {512, rep_prefix_8_byte, false},
{libcall, {{16, loop, false}, {512, unrolled_loop, false},
{-1, libcall, false}}}};
static stringop_algs skylake_memset[2] = {
@ -1526,7 +1526,7 @@ static stringop_algs skylake_memset[2] = {
{24, loop, true},
{8192, rep_prefix_4_byte, true},
{-1, libcall, false}}},
{libcall, {{24, loop, true}, {512, rep_prefix_8_byte, false},
{libcall, {{24, loop, true}, {512, unrolled_loop, false},
{-1, libcall, false}}}};
static const