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
This commit is contained in:
parent
e95ea34742
commit
4bb85634af
|
@ -67,12 +67,6 @@ typedef struct DisasContext {
|
||||||
CPUState *cs;
|
CPUState *cs;
|
||||||
} DisasContext;
|
} 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)
|
static inline bool has_ext(DisasContext *ctx, uint32_t ext)
|
||||||
{
|
{
|
||||||
return ctx->misa & ext;
|
return ctx->misa & ext;
|
||||||
|
|
Loading…
Reference in a new issue