From 8baf7b78b5d92823965cad6263b0e0ea65c9cd36 Mon Sep 17 00:00:00 2001 From: Peter Bergner Date: Thu, 16 Aug 2012 18:12:38 +0000 Subject: [PATCH] * 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. --- opcodes/ChangeLog | 6 ++++++ opcodes/ppc-opc.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 02f05ac8ff6..c4fbe8203c2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2012-08-16 Peter Bergner + + * 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 * rl78-decode.opc (rl78_decode_opcode): Merge %e and %[01] diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 1b15568b20c..ce89215053c 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}}, -- 2.30.2