summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Francis2021-04-24 05:34:00 +0200
committerAlistair Francis2021-05-11 12:02:07 +0200
commit4bb85634afae03182f933d382b5611c3d609e9e4 (patch)
tree72ae12adf19cd1a0d65dce219d20d59fc48f41e7
parenttarget/riscv: Remove the unused HSTATUS_WPRI macro (diff)
downloadqemu-4bb85634afae03182f933d382b5611c3d609e9e4.tar.gz
qemu-4bb85634afae03182f933d382b5611c3d609e9e4.tar.xz
qemu-4bb85634afae03182f933d382b5611c3d609e9e4.zip
target/riscv: Remove an unused CASE_OP_32_64 macro
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Message-id: 4853459564af35a6690120c74ad892f60cec35ff.1619234854.git.alistair.francis@wdc.com
-rw-r--r--target/riscv/translate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/riscv/translate.c b/target/riscv/translate.c
index a596f80f20..a1f794ffda 100644
--- a/target/riscv/translate.c
+++ b/target/riscv/translate.c
@@ -67,12 +67,6 @@ typedef struct DisasContext {
CPUState *cs;
} DisasContext;
-#ifdef TARGET_RISCV64
-#define CASE_OP_32_64(X) case X: case glue(X, W)
-#else
-#define CASE_OP_32_64(X) case X
-#endif
-
static inline bool has_ext(DisasContext *ctx, uint32_t ext)
{
return ctx->misa & ext;