diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index f93c1dc60a5a1932f895b5c237b5347709697588..e3f4b598c030e9586cd13d1149b19d124dc021f3 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -372,9 +372,6 @@ static int tcg_target_const_match(tcg_target_long val,
 #define SRW    XO31(536)
 #define SRAW   XO31(792)
 
-#define LMW    OPCD(46)
-#define STMW   OPCD(47)
-
 #define TW     XO31(4)
 #define TRAP   (TW | TO (31))
 
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index a96314c1b1d07f14e8bf3b36720da5dfe37e942d..ff5fb3ff30072c8cbe7065a13b9f3bd27374d3ec 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -373,9 +373,6 @@ static int tcg_target_const_match (tcg_target_long val,
 #define SRAD   XO31(794)
 #define SRADI  XO31(413<<1)
 
-#define LMW    OPCD( 46)
-#define STMW   OPCD( 47)
-
 #define TW     XO31( 4)
 #define TRAP   (TW | TO (31))