aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/doc/binutils.texi8
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c2
-rw-r--r--gas/doc/c-ppc.texi3
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-dis.c5
7 files changed, 27 insertions, 4 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 161d191..ba3f6ad 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2020-06-06 Alan Modra <amodra@gmail.com>
+
+ * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
+
2020-06-05 Joel Anderson <joelanderson333@gmail.com>
PR 26082
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 3c8a50b..eef073a 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -2520,10 +2520,10 @@ rather than @code{li}. All of the @option{-m} arguments for
@option{e300}, @option{e500}, @option{e500mc}, @option{e500mc64},
@option{e500x2}, @option{e5500}, @option{e6500}, @option{efs},
@option{power4}, @option{power5}, @option{power6}, @option{power7},
-@option{power8}, @option{power9}, @option{ppc}, @option{ppc32},
-@option{ppc64}, @option{ppc64bridge}, @option{ppcps}, @option{pwr},
-@option{pwr2}, @option{pwr4}, @option{pwr5}, @option{pwr5x},
-@option{pwr6}, @option{pwr7}, @option{pwr8}, @option{pwr9},
+@option{power8}, @option{power9}, @option{power10}, @option{ppc},
+@option{ppc32}, @option{ppc64}, @option{ppc64bridge}, @option{ppcps},
+@option{pwr}, @option{pwr2}, @option{pwr4}, @option{pwr5}, @option{pwr5x},
+@option{pwr6}, @option{pwr7}, @option{pwr8}, @option{pwr9}, @option{pwr10},
@option{pwrx}, @option{titan}, and @option{vle}.
@option{32} and @option{64} modify the default or a prior CPU
selection, disabling and enabling 64-bit insns respectively. In
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 56c2ff3..b532af9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2020-06-06 Alan Modra <amodra@gmail.com>
+ * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10.
+ * doc/c-ppc.texi: Likewise.
+
+2020-06-06 Alan Modra <amodra@gmail.com>
+
* config/tc-ppc.c: Update throughout for reloc renaming.
2020-06-05 Jose E. Marchesi <jose.marchesi@oracle.com>
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 5f9d44d..aa989e7 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1410,6 +1410,8 @@ PowerPC options:\n"));
fprintf (stream, _("\
-mpower9, -mpwr9 generate code for Power9 architecture\n"));
fprintf (stream, _("\
+-mpower10, -mpwr10 generate code for Power10 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 6d6bf24..26dbdbf 100644
--- a/gas/doc/c-ppc.texi
+++ b/gas/doc/c-ppc.texi
@@ -147,6 +147,9 @@ Generate code for Power8 architecture.
@item -mpower9, -mpwr9
Generate code for Power9 architecture.
+@item -mpower10, -mpwr10
+Generate code for Power10 architecture.
+
@item -mcell
@item -mcell
Generate code for Cell Broadband Engine architecture.
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,