public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work088)] Clear fusion bits for inline tests.
@ 2022-05-06  0:08 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2022-05-06  0:08 UTC (permalink / raw)
  To: gcc-cvs

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-06  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06  0:08 [gcc(refs/users/meissner/heads/work088)] Clear fusion bits for inline tests Michael Meissner

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).