[v3,14/30] target/sh4: Eliminate unused XREG macro
diff mbox

Message ID 20170718200255.31647-15-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson July 18, 2017, 8:02 p.m. UTC
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target/sh4/translate.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox

diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index 9473cbd..019862d 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -362,7 +362,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)