diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-07-28 13:18:48 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-08-25 13:02:14 +0200 |
commit | 9d0053923904215d95e8e5ab14b38bb792a0a68f (patch) | |
tree | 8d92642c08209f217c0c84486b943cdb37c532a8 /target/mips/tcg/translate.c | |
parent | 6629f79f53ea9a1caa3f3c842fa3d02488116486 (diff) | |
download | qemu-9d0053923904215d95e8e5ab14b38bb792a0a68f.zip qemu-9d0053923904215d95e8e5ab14b38bb792a0a68f.tar.gz qemu-9d0053923904215d95e8e5ab14b38bb792a0a68f.tar.bz2 |
target/mips: Introduce decodetree structure for NEC Vr54xx extension
The decoder is called but doesn't decode anything. This will
ease reviewing the next commit.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210801235926.3178085-3-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/tcg/translate.c')
-rw-r--r-- | target/mips/tcg/translate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c index 490add3..3436363 100644 --- a/target/mips/tcg/translate.c +++ b/target/mips/tcg/translate.c @@ -16098,6 +16098,9 @@ static void decode_opc(CPUMIPSState *env, DisasContext *ctx) if (cpu_supports_isa(env, INSN_R5900) && decode_ext_txx9(ctx, ctx->opcode)) { return; } + if (cpu_supports_isa(env, INSN_VR54XX) && decode_ext_vr54xx(ctx, ctx->opcode)) { + return; + } /* ISA extensions */ if (ase_msa_available(env) && decode_ase_msa(ctx, ctx->opcode)) { |