diff options
author | malc <av1474@comtv.ru> | 2009-07-18 13:15:55 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-07-18 13:16:13 +0400 |
commit | 4f4a67ae78e03b610bddf2dcbf1433b3e783849b (patch) | |
tree | e8b80801e8a0cbf3c5365414ac926153453a7f01 /tcg | |
parent | adea8197b4fb8687b3a5548883c8794a4d4ce64f (diff) | |
download | qemu-4f4a67ae78e03b610bddf2dcbf1433b3e783849b.tar.gz qemu-4f4a67ae78e03b610bddf2dcbf1433b3e783849b.tar.bz2 qemu-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 e3f4b598c0..04700f94ff 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 a2f85ffc6a..ff76f38c13 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) |