Commit 4f4a67ae78e03b610bddf2dcbf1433b3e783849b
1 parent
adea8197
Fix LHZX opcode value
Signed-off-by: malc <av1474@comtv.ru>
Showing
2 changed files
with
2 additions
and
2 deletions
tcg/ppc/tcg-target.c
... | ... | @@ -357,7 +357,7 @@ static int tcg_target_const_match(tcg_target_long val, |
357 | 357 | #define NEG XO31(104) |
358 | 358 | |
359 | 359 | #define LBZX XO31( 87) |
360 | -#define LHZX XO31(276) | |
360 | +#define LHZX XO31(279) | |
361 | 361 | #define LHAX XO31(343) |
362 | 362 | #define LWZX XO31( 23) |
363 | 363 | #define STBX XO31(215) | ... | ... |
tcg/ppc64/tcg-target.c
... | ... | @@ -349,7 +349,7 @@ static int tcg_target_const_match (tcg_target_long val, |
349 | 349 | #define DIVDU XO31(457) |
350 | 350 | |
351 | 351 | #define LBZX XO31( 87) |
352 | -#define LHZX XO31(276) | |
352 | +#define LHZX XO31(279) | |
353 | 353 | #define LHAX XO31(343) |
354 | 354 | #define LWZX XO31( 23) |
355 | 355 | #define STBX XO31(215) | ... | ... |