diff options
author | Richard Henderson <rth@twiddle.net> | 2017-07-18 10:02:39 -1000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2017-07-18 23:39:17 +0200 |
commit | 0f73753d621b2dddc87bc3d8889cab8636d41d15 (patch) | |
tree | d37fdbd258e22db8d774552d009b2221d7fe02db /target/sh4 | |
parent | 5c13bad9ecf758946877d041bb3b9fd012f4503a (diff) | |
download | qemu-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.c | 1 |
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) |