aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-01-02 11:04:45 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-01-02 11:04:45 +0000
commit3ff59baa1c1ba8203a1b105f81b89829735d4890 (patch)
tree60181901342f3ca1a04e4c607416f6659472f98d /gcc
parent362eea7cbfa95617e4510e27f48e254e7a154e7b (diff)
downloadgcc-3ff59baa1c1ba8203a1b105f81b89829735d4890.zip
gcc-3ff59baa1c1ba8203a1b105f81b89829735d4890.tar.gz
gcc-3ff59baa1c1ba8203a1b105f81b89829735d4890.tar.bz2
re PR target/87545 (-mtune=intel regressions)
2019-01-02 Richard Biener <rguenther@suse.de> PR target/87545 * config/i386/x86-tune-costs.h (intel_cost): Adjust cost of cheap SSE instruction. From-SVN: r267509
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/x86-tune-costs.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d896edc..37c318d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2019-01-02 Richard Biener <rguenther@suse.de>
+ PR target/87545
+ * config/i386/x86-tune-costs.h (intel_cost): Adjust
+ cost of cheap SSE instruction.
+
+2019-01-02 Richard Biener <rguenther@suse.de>
+
PR ipa/85574
* ipa-icf.h (sem_item_optimizer::sort_congruence_split): Declare.
* ipa-icf.c (sem_item_optimizer::sort_congruence_split): New
diff --git a/gcc/config/i386/x86-tune-costs.h b/gcc/config/i386/x86-tune-costs.h
index 1c641d9..ac06e37 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. */