public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/meissner/heads/work088)] Clear fusion bits for inline tests.
Date: Fri,  6 May 2022 00:08:29 +0000 (GMT)	[thread overview]
Message-ID: <20220506000829.052D9385803D@sourceware.org> (raw)

https://gcc.gnu.org/g:e3e021db3446722a0721d0165018c3648761d7e7

commit e3e021db3446722a0721d0165018c3648761d7e7
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu May 5 20:08:03 2022 -0400

    Clear fusion bits for inline tests.
    
    2022-05-05   Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
            * config/rs6000/rs6000.cc (rs6000_can_inline_p): Clear the fusion
            bits when testing for inline function compatibility.

Diff:
---
 gcc/config/rs6000/rs6000.cc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc
index bc619592b9e..9ea70ca4bf9 100644
--- a/gcc/config/rs6000/rs6000.cc
+++ b/gcc/config/rs6000/rs6000.cc
@@ -25332,6 +25332,11 @@ rs6000_can_inline_p (tree caller, tree callee)
       HOST_WIDE_INT callee_isa = callee_opts->x_rs6000_isa_flags;
       HOST_WIDE_INT explicit_isa = callee_opts->x_rs6000_isa_flags_explicit;
 
+      callee_isa &= ~(OPTION_MASK_P8_FUSION
+		      | OPTION_MASK_P10_FUSION);
+      explicit_isa &= ~(OPTION_MASK_P8_FUSION
+			| OPTION_MASK_P10_FUSION);
+
       /* If the caller has option attributes, then use them.
 	 Otherwise, use the command line options.  */
       if (caller_tree)


                 reply	other threads:[~2022-05-06  0:08 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=20220506000829.052D9385803D@sourceware.org \
    --to=meissner@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).