aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcg/ppc/tcg-target.c2
-rw-r--r--tcg/ppc64/tcg-target.c2
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)