Skip to content

Commit

Permalink
target/riscv: Remove an unused CASE_OP_32_64 macro
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alistair23 committed May 11, 2021
1 parent e95ea34 commit 4bb8563
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions target/riscv/translate.c
Expand Up @@ -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;
Expand Down

0 comments on commit 4bb8563

Please sign in to comment.