Philippe Mathieu-Daudé
f5c6ee0c6b
target/mips: Merge msa32/msa64 decodetree definitions
...
We don't need to maintain 2 sets of decodetree definitions.
Merge them into a single file.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20210617174636.2902654-3-f4bug@amsat.org >
2021-06-24 16:48:08 +02:00
Philippe Mathieu-Daudé
525ea877b2
target/mips: Remove pointless gen_msa()
...
Only trans_MSA() calls gen_msa(), inline it to simplify.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20210617174636.2902654-2-f4bug@amsat.org >
2021-06-24 16:48:08 +02:00
Philippe Mathieu-Daudé
0610677293
target/mips: Optimize regnames[] arrays
...
Since all entries are no more than 3/4/6 bytes (including nul
terminator), can save space and pie runtime relocations by
declaring regnames[] as array of 3/4/6 const char.
Inspired-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20210617174323.2900831-10-f4bug@amsat.org >
2021-06-24 16:48:08 +02:00
Philippe Mathieu-Daudé
a2b0a27d33
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 >
2021-05-02 16:49:35 +02:00