aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-dis.c
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2022-09-12 14:56:20 -0500
committerPeter Bergner <bergner@linux.ibm.com>2022-09-12 14:56:20 -0500
commit29a6701e530a4119d3c0d261da2b7b24034c9233 (patch)
tree8883613459280ee05df3b9e903568aa555a23953 /opcodes/ppc-dis.c
parentfbdc50d2c7ce12458aa925ea3dd8512f652929bd (diff)
downloadfsf-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-dis.c')
-rw-r--r--opcodes/ppc-dis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c
index 97f2e20..3ba0627 100644
--- a/opcodes/ppc-dis.c
+++ b/opcodes/ppc-dis.c
@@ -208,7 +208,8 @@ struct ppc_mopt ppc_opts[] = {
{ "future", (PPC_OPCODE_PPC | PPC_OPCODE_ISEL | PPC_OPCODE_64
| PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6
| PPC_OPCODE_POWER7 | PPC_OPCODE_POWER8 | PPC_OPCODE_POWER9
- | PPC_OPCODE_POWER10 | PPC_OPCODE_ALTIVEC | PPC_OPCODE_VSX),
+ | PPC_OPCODE_POWER10 | PPC_OPCODE_ALTIVEC | PPC_OPCODE_VSX
+ | PPC_OPCODE_FUTURE),
0 },
{ "ppc", PPC_OPCODE_PPC,
0 },