+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
/* 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] = {
{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