aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2004-03-15 19:07:39 +0000
committerAldy Hernandez <aldyh@redhat.com>2004-03-15 19:07:39 +0000
commit2dc111b3c120d1aef67a5d5e4542dbef00a5f798 (patch)
tree42e5282010807fe7eed448bcd5ba6d9e2530718e
parent1ccda5e956ca3c3ba607fc33b11ec91030d46446 (diff)
downloadgdb-2dc111b3c120d1aef67a5d5e4542dbef00a5f798.zip
gdb-2dc111b3c120d1aef67a5d5e4542dbef00a5f798.tar.gz
gdb-2dc111b3c120d1aef67a5d5e4542dbef00a5f798.tar.bz2
* ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-opc.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index d721d93..4f0364b 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-15 Aldy Hernandez <aldyh@redhat.com>
+
+ * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.
+
2004-03-15 Alan Modra <amodra@bigpond.net.au>
* sparc-dis.c (print_insn_sparc): Update getword prototype.
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 9c65ff3..f4b6580 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -3619,9 +3619,13 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{ "mfvrsave", XSPR(31,339,256), XSPR_MASK, PPCVEC, { RT } },
{ "mfusprg0", XSPR(31,339,256), XSPR_MASK, BOOKE, { RT } },
{ "mfsprg4", XSPR(31,339,260), XSPR_MASK, PPC405, { RT } },
+{ "mfsprg4", XSPR(31,339,260), XSPR_MASK, BOOKE, { RT } },
{ "mfsprg5", XSPR(31,339,261), XSPR_MASK, PPC405, { RT } },
+{ "mfsprg5", XSPR(31,339,261), XSPR_MASK, BOOKE, { RT } },
{ "mfsprg6", XSPR(31,339,262), XSPR_MASK, PPC405, { RT } },
+{ "mfsprg6", XSPR(31,339,262), XSPR_MASK, BOOKE, { RT } },
{ "mfsprg7", XSPR(31,339,263), XSPR_MASK, PPC405, { RT } },
+{ "mfsprg7", XSPR(31,339,263), XSPR_MASK, BOOKE, { RT } },
{ "mftb", X(31,371), X_MASK, CLASSIC, { RT, TBR } },
{ "mftb", XSPR(31,339,268), XSPR_MASK, BOOKE, { RT } },
{ "mftbl", XSPR(31,371,268), XSPR_MASK, CLASSIC, { RT } },