public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, rs6000] correct an erroneous BTM value in the BU_P10_MISC define
@ 2020-09-24 20:35 will schmidt
  2020-09-25 17:36 ` Segher Boessenkool
  0 siblings, 1 reply; 7+ messages in thread
From: will schmidt @ 2020-09-24 20:35 UTC (permalink / raw)
  To: Gcc-patches
  Cc: Segher Boessenkool, David Edelsohn, Bill Schmidt, Peter Bergner

[PATCH, rs6000] correct an erroneous blip in the BU_P10_MISC define

Hi, 
    We have extraneous BTM entry (RS6000_BTM_POWERPC64) in the define for
our P10 MISC 2 builtin definition.  This does not exist for the '0',
'1' or '3' definitions. It appears to me that this was erroneously
copied from the P7 version of the define which contains a version of the
BU macro both with and without that element.  Removing the
RS6000_BTM_POWERPC64 portion of the define does not introduce any obvious
failures, I believe this extra line can be safely removed.

OK for trunk?

Thanks
-Will

diff --git a/gcc/config/rs6000/rs6000-builtin.def b/gcc/config/rs6000/rs6000-builtin.def
index e91a48ddf5fe..62c9b77cb76d 100644
--- a/gcc/config/rs6000/rs6000-builtin.def
+++ b/gcc/config/rs6000/rs6000-builtin.def
@@ -1112,12 +1112,11 @@
 		    CODE_FOR_ ## ICODE)			/* ICODE */
 
 #define BU_P10_MISC_2(ENUM, NAME, ATTR, ICODE)				\
   RS6000_BUILTIN_2 (P10_BUILTIN_ ## ENUM,		/* ENUM */	\
 		    "__builtin_" NAME,			/* NAME */	\
-		    RS6000_BTM_P10					\
-		    | RS6000_BTM_POWERPC64,		/* MASK */	\
+		    RS6000_BTM_P10,			/* MASK */	\
 		    (RS6000_BTC_ ## ATTR		/* ATTR */	\
 		     | RS6000_BTC_BINARY),				\
 		    CODE_FOR_ ## ICODE)			/* ICODE */
 
 #define BU_P10_MISC_3(ENUM, NAME, ATTR, ICODE)				\


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-08  0:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 20:35 [PATCH, rs6000] correct an erroneous BTM value in the BU_P10_MISC define will schmidt
2020-09-25 17:36 ` Segher Boessenkool
2020-09-25 20:34   ` will schmidt
2020-09-25 23:50     ` Segher Boessenkool
2020-09-27 13:55       ` Bill Schmidt
2020-10-07 17:44         ` [PATCH, rs6000] rename BU_P10_MISC_2 define to BU_P10_POWERPC64_MISC_2 will schmidt
2020-10-08  0:48           ` Segher Boessenkool

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