aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGanesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>2013-05-29 11:09:55 +0000
committerGanesh Gopalasubramanian <gganesh@gcc.gnu.org>2013-05-29 11:09:55 +0000
commitc0186656108d130c8af13422b4f8c2dbe3f93862 (patch)
treec84838bf7b6e00d934b8f388e45352d7826f50f2 /gcc
parentd20188f3657465cf77dc8a8bd26b219022896a2f (diff)
downloadgcc-c0186656108d130c8af13422b4f8c2dbe3f93862.zip
gcc-c0186656108d130c8af13422b4f8c2dbe3f93862.tar.gz
gcc-c0186656108d130c8af13422b4f8c2dbe3f93862.tar.bz2
Enable FP Reassociation for AMD bdver1 and bdver2 architecture
From-SVN: r199406
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0e41fc2..4b9e846 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-29 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
+
+ * config/i386/i386.c (initial_ix86_tune_features): Enable
+ FP Reassociation for AMD bdver1 and bdver2.
+
2013-05-29 Martin Jambor <mjambor@suse.cz>
* tree-cfg.c (verify_expr): Verify that BIT_FIELD_REF, REALPART_EXPR
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 20163b1..a025909 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2026,7 +2026,7 @@ static unsigned int initial_ix86_tune_features[X86_TUNE_LAST] = {
/* X86_TUNE_REASSOC_FP_TO_PARALLEL: Try to produce parallel computations
during reassociation of fp computation. */
- m_ATOM | m_HASWELL,
+ m_ATOM | m_HASWELL | m_BDVER1 | m_BDVER2,
/* X86_TUNE_GENERAL_REGS_SSE_SPILL: Try to spill general regs to SSE
regs instead of memory. */