Skip to contentSkip to conversation

[4954] Fix the opcode value of LWA

Qemu-devel malc 1 participant 1 message Jul 27, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 4954

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4954
Author:   malc
Date:     2008-07-27 10:28:15 +0000 (Sun, 27 Jul 2008)

Log Message:
-----------
Fix the opcode value of LWA

That should teach one to not blindly trust documentation that will (out of the blue) use decimal and binary representation for numbers in the same chart for no apparent reason and without any prefixes, sigh..

Unbreaks MIPS.

Modified Paths:
--------------
trunk/tcg/ppc64/tcg-target.c

Modified: trunk/tcg/ppc64/tcg-target.c
===================================================================

tcg/ppc64/tcg-target.c +1 -1
@@ -268,7 +268,7 @@
 #define LD     XO58(  0)
 #define LDX    XO31( 21)
 #define LDU    XO58(  1)
-#define LWA    XO58( 10)
+#define LWA    XO58(  2)
 #define LWAX   XO31(341)
 
 #define ADDI   OPCD( 14)