From 3ff59baa1c1ba8203a1b105f81b89829735d4890 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 2 Jan 2019 11:04:45 +0000 Subject: [PATCH] re PR target/87545 (-mtune=intel regressions) 2019-01-02 Richard Biener PR target/87545 * config/i386/x86-tune-costs.h (intel_cost): Adjust cost of cheap SSE instruction. From-SVN: r267509 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/x86-tune-costs.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d896edc1b02..37c318da6a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-01-02 Richard Biener + + PR target/87545 + * config/i386/x86-tune-costs.h (intel_cost): Adjust + cost of cheap SSE instruction. + 2019-01-02 Richard Biener PR ipa/85574 diff --git a/gcc/config/i386/x86-tune-costs.h b/gcc/config/i386/x86-tune-costs.h index 1c641d99545..ac06e37733a 100644 --- a/gcc/config/i386/x86-tune-costs.h +++ b/gcc/config/i386/x86-tune-costs.h @@ -2115,7 +2115,7 @@ struct processor_costs intel_cost = { COSTS_N_INSNS (8), /* cost of FCHS instruction. */ COSTS_N_INSNS (40), /* cost of FSQRT instruction. */ - COSTS_N_INSNS (8), /* cost of cheap SSE instruction. */ + COSTS_N_INSNS (1), /* cost of cheap SSE instruction. */ COSTS_N_INSNS (8), /* cost of ADDSS/SD SUBSS/SD insns. */ COSTS_N_INSNS (8), /* cost of MULSS instruction. */ COSTS_N_INSNS (8), /* cost of MULSD instruction. */ -- 2.30.2