public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Richard Sandiford <rsandifo@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-2033] Change fma_reassoc_width tuning for ampere1
Date: Thu, 22 Jun 2023 14:17:09 +0000 (GMT)	[thread overview]
Message-ID: <20230622141709.AFEDD38582B0@sourceware.org> (raw)

https://gcc.gnu.org/g:4ced8363622b31910cda61796a28fe2cbf70faa7

commit r14-2033-g4ced8363622b31910cda61796a28fe2cbf70faa7
Author: Di Zhao OS <dizhao@os.amperecomputing.com>
Date:   Thu Jun 22 15:16:57 2023 +0100

    Change fma_reassoc_width tuning for ampere1
    
    This patch enables reassociation of floating-point additions on ampere1.
    This brings about 1% overall benefit on spec2017 fprate cases. (There
    are minor regressions in 510.parest_r and 508.namd_r, analyzed here:
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110279 .)
    
    gcc/ChangeLog:
    
            * config/aarch64/aarch64.cc: Change fma_reassoc_width for ampere1.

Diff:
---
 gcc/config/aarch64/aarch64.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index b99f12c99e9..644ebdebc0e 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -1929,7 +1929,7 @@ static const struct tune_params ampere1_tunings =
   "32:16",	/* loop_align.  */
   2,	/* int_reassoc_width.  */
   4,	/* fp_reassoc_width.  */
-  1,	/* fma_reassoc_width.  */
+  4,	/* fma_reassoc_width.  */
   2,	/* vec_reassoc_width.  */
   2,	/* min_div_recip_mul_sf.  */
   2,	/* min_div_recip_mul_df.  */

                 reply	other threads:[~2023-06-22 14:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230622141709.AFEDD38582B0@sourceware.org \
    --to=rsandifo@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).