From: Ganesh Gopalasubramanian Date: Wed, 29 May 2013 11:09:55 +0000 (+0000) Subject: Enable FP Reassociation for AMD bdver1 and bdver2 architecture X-Git-Tag: releases/gcc-4.9.0~5654 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0186656108d130c8af13422b4f8c2dbe3f93862;p=thirdparty%2Fgcc.git Enable FP Reassociation for AMD bdver1 and bdver2 architecture From-SVN: r199406 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0e41fc2c15ce..4b9e84605819 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-05-29 Ganesh Gopalasubramanian + + * config/i386/i386.c (initial_ix86_tune_features): Enable + FP Reassociation for AMD bdver1 and bdver2. + 2013-05-29 Martin Jambor * 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 20163b1a8a1b..a025909ccede 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. */