aboutsummaryrefslogtreecommitdiff
path: root/target/sh4
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-07-18 10:02:39 -1000
committerAurelien Jarno <aurelien@aurel32.net>2017-07-18 23:39:17 +0200
commit0f73753d621b2dddc87bc3d8889cab8636d41d15 (patch)
treed37fdbd258e22db8d774552d009b2221d7fe02db /target/sh4
parent5c13bad9ecf758946877d041bb3b9fd012f4503a (diff)
downloadqemu-0f73753d621b2dddc87bc3d8889cab8636d41d15.zip
qemu-0f73753d621b2dddc87bc3d8889cab8636d41d15.tar.gz
qemu-0f73753d621b2dddc87bc3d8889cab8636d41d15.tar.bz2
target/sh4: Eliminate unused XREG macro
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>
Diffstat (limited to 'target/sh4')
-rw-r--r--target/sh4/translate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index bc6f339..e5b88ac 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)