aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-06 14:22:37 +0930
committerAlan Modra <amodra@gmail.com>2020-06-06 14:44:32 +0930
commit1424c35d071e7d49a4a219c7dee8c88ffd60ddca (patch)
tree768b988cb5805f11b62331539552b9f218761179 /opcodes
parent87c69f9732039d889f04ae8b9bb81b80e530a6f1 (diff)
downloadgdb-1424c35d071e7d49a4a219c7dee8c88ffd60ddca.zip
gdb-1424c35d071e7d49a4a219c7dee8c88ffd60ddca.tar.gz
gdb-1424c35d071e7d49a4a219c7dee8c88ffd60ddca.tar.bz2
Power10 tidies
binutils/ * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10. gas/ * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10. * doc/c-ppc.texi: Likewise. opcodes/ * ppc-dis.c (ppc_opts): Accept -mpwr10/-Mpwr10.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-dis.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 86e381a..f09d599 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2020-06-06 Alan Modra <amodra@gmail.com>
+
+ * ppc-dis.c (ppc_opts): Accept -mpwr10/-Mpwr10.
+
2020-06-05 Alan Modra <amodra@gmail.com>
* cgen-dis.c (hash_insn_array): Increase size of buf. Assert
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c
index 162f770..eca1f36 100644
--- a/opcodes/ppc-dis.c
+++ b/opcodes/ppc-dis.c
@@ -238,6 +238,11 @@ struct ppc_mopt ppc_opts[] = {
| PPC_OPCODE_POWER7 | PPC_OPCODE_POWER8 | PPC_OPCODE_POWER9
| PPC_OPCODE_ALTIVEC | PPC_OPCODE_VSX),
0 },
+ { "pwr10", (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),
+ 0 },
{ "pwrx", PPC_OPCODE_POWER | PPC_OPCODE_POWER2,
0 },
{ "raw", PPC_OPCODE_PPC,