aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2018-01-02 14:04:19 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2018-01-02 13:04:19 +0000
commitd555138e648961fdc572d8afdb234b52978828f9 (patch)
tree9b73a4533cdc0e87007627bf48d395852dbd66da
parentf76649a6dc8278b2e377cabf3f80c172ffdc6c2a (diff)
downloadgcc-d555138e648961fdc572d8afdb234b52978828f9.zip
gcc-d555138e648961fdc572d8afdb234b52978828f9.tar.gz
gcc-d555138e648961fdc572d8afdb234b52978828f9.tar.bz2
re PR target/81616 (Update -mtune=generic for the current Intel and AMD processors)
PR target/81616 * config/i386/x86-tune-costs.h: Increase cost of integer load costs for generic 4->6. From-SVN: r256073
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/x86-tune-costs.h4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 57e31cb..522573f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,13 @@
2018-01-02 Jan Hubicka <hubicka@ucw.cz>
PR target/81616
+ * config/i386/x86-tune-costs.h: Increase cost of integer load costs
+ for generic 4->6.
+
+2018-01-02 Jan Hubicka <hubicka@ucw.cz>
+
+ PR target/81616
+ Generic tuning.
* x86-tune-costs.h (generic_cost): Reduce cost of FDIV 20->17,
cost of sqrt 20->14, DIVSS 18->13, DIVSD 32->17, SQRtSS 30->14
and SQRTsD 58->18, cond_not_taken_branch_cost. 2->1. Increase
diff --git a/gcc/config/i386/x86-tune-costs.h b/gcc/config/i386/x86-tune-costs.h
index eff7f7f..ac0645f 100644
--- a/gcc/config/i386/x86-tune-costs.h
+++ b/gcc/config/i386/x86-tune-costs.h
@@ -2259,8 +2259,8 @@ struct processor_costs generic_cost = {
/* All move costs are relative to integer->integer move times 2 and thus
they are latency*2. */
- 4, /* cost for loading QImode using movzbl */
- {4, 4, 4}, /* cost of loading integer registers
+ 6, /* cost for loading QImode using movzbl */
+ {6, 6, 6}, /* cost of loading integer registers
in QImode, HImode and SImode.
Relative to reg-reg move (2). */
{6, 6, 6}, /* cost of storing integer registers */