aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2012-08-16 18:12:38 +0000
committerPeter Bergner <bergner@vnet.ibm.com>2012-08-16 18:12:38 +0000
commit8baf7b78b5d92823965cad6263b0e0ea65c9cd36 (patch)
treef595e8123351e5a3b63e54fef7a17ba07d018e12
parent0c92d8c1c34359a02073b9b3ec19956841b232b2 (diff)
downloadgdb-8baf7b78b5d92823965cad6263b0e0ea65c9cd36.zip
gdb-8baf7b78b5d92823965cad6263b0e0ea65c9cd36.tar.gz
gdb-8baf7b78b5d92823965cad6263b0e0ea65c9cd36.tar.bz2
* ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and
RBX for the third operand. <"lswi">: Use RAX for second and NBI for the third operand.
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/ppc-opc.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 02f05ac..c4fbe82 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2012-08-16 Peter Bergner <bergner@vnet.ibm.com>
+
+ * ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and
+ RBX for the third operand.
+ <"lswi">: Use RAX for second and NBI for the third operand.
+
2012-08-15 DJ Delorie <dj@redhat.com>
* rl78-decode.opc (rl78_decode_opcode): Merge %e and %[01]
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 1b15568..ce89215 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -5205,7 +5205,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"ldbrx", X(31,532), X_MASK, CELL|POWER7|PPCA2, PPCNONE, {RT, RA0, RB}},
-{"lswx", X(31,533), X_MASK, PPCCOM|PPCVLE, E500|E500MC, {RT, RA0, RB}},
+{"lswx", X(31,533), X_MASK, PPCCOM|PPCVLE, E500|E500MC, {RT, RAX, RBX}},
{"lsx", X(31,533), X_MASK, PWRCOM, PPCNONE, {RT, RA, RB}},
{"lwbrx", X(31,534), X_MASK, PPCCOM|PPCVLE, PPCNONE, {RT, RA0, RB}},
@@ -5255,7 +5255,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"mfsr", X(31,595), XRB_MASK|(1<<20), COM, NON32, {RT, SR}},
-{"lswi", X(31,597), X_MASK, PPCCOM|PPCVLE, E500|E500MC, {RT, RA0, NB}},
+{"lswi", X(31,597), X_MASK, PPCCOM|PPCVLE, E500|E500MC, {RT, RAX, NBI}},
{"lsi", X(31,597), X_MASK, PWRCOM, PPCNONE, {RT, RA0, NB}},
{"lwsync", XSYNC(31,598,1), 0xffffffff, PPC, E500, {0}},