From: malc Date: Sun, 27 Jul 2008 10:28:15 +0000 (+0000) Subject: Fix the opcode value of LWA X-Git-Tag: release_0_10_0~1732 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=301f6d903a68a6595b5ec5520d9fc2fc3d698fa3;p=thirdparty%2Fqemu.git 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. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4954 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index 9d8364125f0..0fc61e1b233 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -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)