aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2004-03-16 18:03:55 +0000
committerAldy Hernandez <aldyh@redhat.com>2004-03-16 18:03:55 +0000
commit1c9c06e6a845af0d7067a6c132ba7eef2b7f25f7 (patch)
tree017e3be2848818e8218e88845a9554ca4ce1fd31
parent170aa83e790255bd854f6ef8fe989b191ca25964 (diff)
downloadgdb-1c9c06e6a845af0d7067a6c132ba7eef2b7f25f7.zip
gdb-1c9c06e6a845af0d7067a6c132ba7eef2b7f25f7.tar.gz
gdb-1c9c06e6a845af0d7067a6c132ba7eef2b7f25f7.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 3dd6b22..63c17a5 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-16 Alan Modra <amodra@bigpond.net.au>
* ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index eca8517..c513cb8 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -3623,9 +3623,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 } },