From: Andrew Senkevich Date: Thu, 19 Jul 2018 06:49:10 +0000 (+0000) Subject: x86-tune-costs.h (skylake_memcpy, [...]): Replace rep_prefix with unrolling for size... X-Git-Tag: upstream/12.2.0~30262 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e559c70b7525cea4174ea958067987e64314e1b;p=platform%2Fupstream%2Fgcc.git 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 From-SVN: r262871 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b34ae54..78cf6b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-07-19 Andrew Senkevich + Julia Koval + + * config/i386/x86-tune-costs.h (skylake_memcpy, + skylake_memset): Replace rep_prefix with unrolling for size 512. + 2018-07-18 Kugan Vivekanandarajah PR middle-end/86544 diff --git a/gcc/config/i386/x86-tune-costs.h b/gcc/config/i386/x86-tune-costs.h index 8409a5f..ff28934 100644 --- a/gcc/config/i386/x86-tune-costs.h +++ b/gcc/config/i386/x86-tune-costs.h @@ -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