diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2020-05-15 18:18:57 +0000 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2020-05-15 20:02:49 +0000 |
commit | fe83bfb1466e3788f4902eb605d45b2602be9fab (patch) | |
tree | 48e6c32f9902cd84e5507b58f9f3148dc5abe8f4 /gcc | |
parent | b595f14f8f6338e314213855741aa2a0a0ee4952 (diff) | |
download | gcc-fe83bfb1466e3788f4902eb605d45b2602be9fab.zip gcc-fe83bfb1466e3788f4902eb605d45b2602be9fab.tar.gz gcc-fe83bfb1466e3788f4902eb605d45b2602be9fab.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000-builtin.def | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d44ad8b..3ae73f2 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 e58edec..8b1ddb0 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 */ |