diff options
author | Philippe Mathieu-Daudé | 2021-04-13 10:47:10 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-05-02 16:49:35 +0200 |
commit | a2b0a27d33e9b1079698cee04ff029a0555b5ea5 (patch) | |
tree | 25d812498da93beddf8910ce957141066ce30daa /target/mips/tcg/txx9_translate.c | |
parent | target/mips: Move CP0 helpers to sysemu/cp0.c (diff) | |
download | qemu-a2b0a27d33e9b1079698cee04ff029a0555b5ea5.tar.gz qemu-a2b0a27d33e9b1079698cee04ff029a0555b5ea5.tar.xz qemu-a2b0a27d33e9b1079698cee04ff029a0555b5ea5.zip |
target/mips: Move TCG source files under tcg/ sub directory
To ease maintenance, move all TCG specific files under the tcg/
sub-directory. Adapt the Meson machinery.
The following prototypes:
- mips_tcg_init()
- mips_cpu_do_unaligned_access()
- mips_cpu_do_transaction_failed()
can now be restricted to the "tcg-internal.h" header.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-29-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg/txx9_translate.c')
-rw-r--r-- | target/mips/tcg/txx9_translate.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/mips/tcg/txx9_translate.c b/target/mips/tcg/txx9_translate.c new file mode 100644 index 0000000000..8a2c0b766b --- /dev/null +++ b/target/mips/tcg/txx9_translate.c @@ -0,0 +1,20 @@ +/* + * 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; +} |