diff options
author | 2009-07-18 13:15:55 +0400 | |
---|---|---|
committer | 2009-07-18 13:16:13 +0400 | |
commit | 4f4a67ae78e03b610bddf2dcbf1433b3e783849b (patch) | |
tree | e8b80801e8a0cbf3c5365414ac926153453a7f01 /tcg | |
parent | Userspace guest address offsetting (diff) | |
download | qemu-kvm-4f4a67ae78e03b610bddf2dcbf1433b3e783849b.tar.gz qemu-kvm-4f4a67ae78e03b610bddf2dcbf1433b3e783849b.tar.bz2 qemu-kvm-4f4a67ae78e03b610bddf2dcbf1433b3e783849b.zip |
Fix LHZX opcode value
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/ppc/tcg-target.c | 2 | ||||
-rw-r--r-- | tcg/ppc64/tcg-target.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index e3f4b598c..04700f94f 100644 --- a/tcg/ppc/tcg-target.c +++ b/tcg/ppc/tcg-target.c @@ -357,7 +357,7 @@ static int tcg_target_const_match(tcg_target_long val, #define NEG XO31(104) #define LBZX XO31( 87) -#define LHZX XO31(276) +#define LHZX XO31(279) #define LHAX XO31(343) #define LWZX XO31( 23) #define STBX XO31(215) diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index a2f85ffc6..ff76f38c1 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -349,7 +349,7 @@ static int tcg_target_const_match (tcg_target_long val, #define DIVDU XO31(457) #define LBZX XO31( 87) -#define LHZX XO31(276) +#define LHZX XO31(279) #define LHAX XO31(343) #define LWZX XO31( 23) #define STBX XO31(215) |