]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
Fix the opcode value of LWA
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 27 Jul 2008 10:28:15 +0000 (10:28 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 27 Jul 2008 10:28:15 +0000 (10:28 +0000)
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.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4954 c046a42c-6fe2-441c-8c8c-71466251a162

tcg/ppc64/tcg-target.c

index 9d8364125f0814443d5d93a9fa79ed3038cc5240..0fc61e1b2332a2e4223d2182f55da22284b55031 100644 (file)
@@ -268,7 +268,7 @@ static int tcg_target_const_match (tcg_target_long val,
 #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)