qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4954] Fix the opcode value of LWA


From: malc
Subject: [Qemu-devel] [4954] Fix the opcode value of LWA
Date: Sun, 27 Jul 2008 10:28:16 +0000

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
===================================================================
--- trunk/tcg/ppc64/tcg-target.c        2008-07-26 17:19:35 UTC (rev 4953)
+++ trunk/tcg/ppc64/tcg-target.c        2008-07-27 10:28:15 UTC (rev 4954)
@@ -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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]