rs6000: BU_FUTURE_MISC_2 requires powerpc64
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 15 May 2020 18:18:57 +0000 (18:18 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Fri, 15 May 2020 20:02:49 +0000 (20:02 +0000)
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.

gcc/ChangeLog
gcc/config/rs6000/rs6000-builtin.def

index d44ad8be80116a6bf2ad0ae1410b9dca3ccf5072..3ae73f21560fba420cc286ef46f5b34f2f74d398 100644 (file)
@@ -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.
index e58edec47da39a79e5f0a7d3db30c1acfe90fd8b..8b1ddb00045bb94b595b64a7b1e2fee12f6575e8 100644 (file)
 #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 */