Commit 301f6d903a68a6595b5ec5520d9fc2fc3d698fa3
1 parent
e97b640d
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
Showing
1 changed file
with
1 additions
and
1 deletions
tcg/ppc64/tcg-target.c
... | ... | @@ -268,7 +268,7 @@ static int tcg_target_const_match (tcg_target_long val, |
268 | 268 | #define LD XO58( 0) |
269 | 269 | #define LDX XO31( 21) |
270 | 270 | #define LDU XO58( 1) |
271 | -#define LWA XO58( 10) | |
271 | +#define LWA XO58( 2) | |
272 | 272 | #define LWAX XO31(341) |
273 | 273 | |
274 | 274 | #define ADDI OPCD( 14) | ... | ... |