aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-opc.c
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 /opcodes/ppc-opc.c
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.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r--opcodes/ppc-opc.c4
1 files changed, 2 insertions, 2 deletions
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}},