public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] rs6000: BU_FUTURE_MISC_2 requires powerpc64
@ 2020-08-22 21:18 Giuliano Belinassi
  0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 21:18 UTC (permalink / raw)
  To: gcc-cvs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1731 bytes --]

https://gcc.gnu.org/g:1229b9483cd7e020ac1395684c2ee81ce7d525bc

commit 1229b9483cd7e020ac1395684c2ee81ce7d525bc
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date:   Fri May 15 18:18:57 2020 +0000

    rs6000: BU_FUTURE_MISC_2 requires powerpc64
    
    BU_FUTURE_MISC_2 is (currently) only used for instructions that require
    64-bit registers.
    
    2020-05-15  Segher Boessenkool  <segher@kernel.crashing.org>
    
            * config/rs6000/rs6000-builtin.def (BU_FUTURE_MISC_2): Also require
            RS6000_BTM_POWERPC64.

Diff:
---
 gcc/ChangeLog                        | 5 +++++
 gcc/config/rs6000/rs6000-builtin.def | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d44ad8be801..3ae73f21560 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-05-15  Segher Boessenkool  <segher@kernel.crashing.org>
+
+	* config/rs6000/rs6000-builtin.def (BU_FUTURE_MISC_2): Also require
+	RS6000_BTM_POWERPC64.
+
 2020-05-15  Uroš Bizjak  <ubizjak@gmail.com>
 
 	* config/i386/i386.md (SWI48DWI): New mode iterator.
diff --git a/gcc/config/rs6000/rs6000-builtin.def b/gcc/config/rs6000/rs6000-builtin.def
index e58edec47da..8b1ddb00045 100644
--- a/gcc/config/rs6000/rs6000-builtin.def
+++ b/gcc/config/rs6000/rs6000-builtin.def
@@ -1036,7 +1036,8 @@
 #define BU_FUTURE_MISC_2(ENUM, NAME, ATTR, ICODE)			\
   RS6000_BUILTIN_2 (FUTURE_BUILTIN_ ## ENUM,		/* ENUM */	\
 		    "__builtin_" NAME,			/* NAME */	\
-		    RS6000_BTM_FUTURE,			/* MASK */	\
+		    RS6000_BTM_FUTURE					\
+		    | RS6000_BTM_POWERPC64,		/* MASK */	\
 		    (RS6000_BTC_ ## ATTR		/* ATTR */	\
 		     | RS6000_BTC_BINARY),				\
 		    CODE_FOR_ ## ICODE)			/* ICODE */


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

only message in thread, other threads:[~2020-08-22 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 21:18 [gcc/devel/autopar_devel] rs6000: BU_FUTURE_MISC_2 requires powerpc64 Giuliano Belinassi

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