mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
ffc672aa97
Introduce decodetree structure to decode the tx79 opcodes. Start it by moving the existing MFHI1 and MFLO1 opcodes. Remove unnecessary comments. As the TX79 share opcodes with the TX19/TX39/TX49 CPUs, we introduce the decode_ext_txx9() dispatcher where we will add the other decoders later. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210214175912.732946-9-f4bug@amsat.org>
21 lines
380 B
C
21 lines
380 B
C
/*
|
|
* Toshiba TXx9 instructions translation routines
|
|
*
|
|
* Copyright (c) 2021 Philippe Mathieu-Daudé
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "translate.h"
|
|
|
|
bool decode_ext_txx9(DisasContext *ctx, uint32_t insn)
|
|
{
|
|
#if defined(TARGET_MIPS64)
|
|
if (decode_ext_tx79(ctx, insn)) {
|
|
return true;
|
|
}
|
|
#endif
|
|
return false;
|
|
}
|