diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2022-09-12 14:56:20 -0500 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2022-09-12 14:56:20 -0500 |
commit | 29a6701e530a4119d3c0d261da2b7b24034c9233 (patch) | |
tree | 8883613459280ee05df3b9e903568aa555a23953 /opcodes/ppc-opc.c | |
parent | fbdc50d2c7ce12458aa925ea3dd8512f652929bd (diff) | |
download | fsf-binutils-gdb-29a6701e530a4119d3c0d261da2b7b24034c9233.zip fsf-binutils-gdb-29a6701e530a4119d3c0d261da2b7b24034c9233.tar.gz fsf-binutils-gdb-29a6701e530a4119d3c0d261da2b7b24034c9233.tar.bz2 |
ppc: Document the -mfuture and -Mfuture options and make them usable
The -mfuture and -Mfuture options which are used for adding potential
new ISA instructions were not documented. They also lacked a bitmask
so new instructions could not be enabled by those options. Fixed.
binutils/
* doc/binutils.texi: Document -Mfuture.
gas/
* config/tc-ppc.c: Document -mfuture
* doc/c-ppc.texi: Likewise.
include/
* opcode/ppc.h (PPC_OPCODE_FUTURE): Define.
opcodes/
* ppc-dis.c (ppc_opts) <future>: Use it.
* ppc-opc.c (FUTURE): Define.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r-- | opcodes/ppc-opc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 934b1bf..25c96ba 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -4847,6 +4847,7 @@ const unsigned int num_powerpc_operands = (sizeof (powerpc_operands) #define POWER8 PPC_OPCODE_POWER8 #define POWER9 PPC_OPCODE_POWER9 #define POWER10 PPC_OPCODE_POWER10 +#define FUTURE PPC_OPCODE_FUTURE #define CELL PPC_OPCODE_CELL #define PPC64 PPC_OPCODE_64 | PPC_OPCODE_64_BRIDGE #define NON32 (PPC_OPCODE_64 | PPC_OPCODE_POWER4 \ |