From 301f6d903a68a6595b5ec5520d9fc2fc3d698fa3 Mon Sep 17 00:00:00 2001 From: malc Date: Sun, 27 Jul 2008 10:28:15 +0000 Subject: [PATCH] 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 --- tcg/ppc64/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index 9d8364125f..0fc61e1b23 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)