diff mbox

[PULL,18/31] target/sh4: Eliminate unused XREG macro

Message ID 20170718215050.3812-19-aurelien@aurel32.net
State New
Headers show

Commit Message

Aurelien Jarno July 18, 2017, 9:50 p.m. UTC
From: Richard Henderson <rth@twiddle.net>

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <20170718200255.31647-15-rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 target/sh4/translate.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index bc6f33970b..e5b88ac568 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -357,7 +357,6 @@  static inline void gen_store_fpr64(DisasContext *ctx, TCGv_i64 t, int reg)
 #define FREG(x)    cpu_fregs[(x) ^ ctx->fbank]
 
 #define XHACK(x) ((((x) & 1 ) << 4) | ((x) & 0xe))
-#define XREG(x)  FREG(XHACK(x))
 /* Assumes lsb of (x) is always 0 */
 #define DREG(x)  ((x) ^ ctx->fbank)