aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc64
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-27 10:28:15 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-27 10:28:15 +0000
commit301f6d903a68a6595b5ec5520d9fc2fc3d698fa3 (patch)
tree849c9d2c7efe8a0a31f14b5be8f3c7bca0343e85 /tcg/ppc64
parente97b640d471ed15bc35ce4784c2d93eb369d3ba0 (diff)
downloadqemu-301f6d903a68a6595b5ec5520d9fc2fc3d698fa3.zip
qemu-301f6d903a68a6595b5ec5520d9fc2fc3d698fa3.tar.gz
qemu-301f6d903a68a6595b5ec5520d9fc2fc3d698fa3.tar.bz2
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
Diffstat (limited to 'tcg/ppc64')
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index 9d83641..0fc61e1 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)