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 /gas | |
parent | fbdc50d2c7ce12458aa925ea3dd8512f652929bd (diff) | |
download | gdb-29a6701e530a4119d3c0d261da2b7b24034c9233.zip gdb-29a6701e530a4119d3c0d261da2b7b24034c9233.tar.gz 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 'gas')
-rw-r--r-- | gas/config/tc-ppc.c | 2 | ||||
-rw-r--r-- | gas/doc/c-ppc.texi | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index b5aad4b..37a8b54 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1384,6 +1384,8 @@ PowerPC options:\n")); fprintf (stream, _("\ -mlibresoc generate code for Libre-SOC architecture\n")); fprintf (stream, _("\ +-mfuture generate code for 'future' architecture\n")); + fprintf (stream, _("\ -mcell generate code for Cell Broadband Engine architecture\n")); fprintf (stream, _("\ -mcom generate code for Power/PowerPC common instructions\n")); diff --git a/gas/doc/c-ppc.texi b/gas/doc/c-ppc.texi index 8125493..2986d3d 100644 --- a/gas/doc/c-ppc.texi +++ b/gas/doc/c-ppc.texi @@ -150,6 +150,9 @@ Generate code for Power9 architecture. @item -mpower10, -mpwr10 Generate code for Power10 architecture. +@item -mfuture +Generate code for 'future' architecture. + @item -mcell @item -mcell Generate code for Cell Broadband Engine architecture. |