qemu-patch-raspberry4/target/mips
Philippe Mathieu-Daudé 25a1362875 target/mips: Introduce ase_msa_available() helper
Instead of accessing CP0_Config3 directly and checking
the 'MSA Present' bit, introduce an explicit helper,
making the code easier to read.

Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20201208003702.4088927-2-f4bug@amsat.org>
2021-01-14 17:13:53 +01:00
..
addr.c target/mips/addr: Add translation helpers for KSEG1 2021-01-14 17:13:53 +01:00
cp0_helper.c target/mips/mips-defs: Rename ISA_MIPS32R6 as ISA_MIPS_R6 2021-01-14 17:13:53 +01:00
cp0_timer.c target/mips/mips-defs: Rename ISA_MIPS32R2 as ISA_MIPS_R2 2021-01-14 17:13:53 +01:00
cpu-defs.c.inc target/mips: Rename translate_init.c as cpu-defs.c 2021-01-14 17:13:53 +01:00
cpu-param.h target/mips: Support variable page size 2020-06-01 13:28:21 +02:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c target/mips: Introduce ase_msa_available() helper 2021-01-14 17:13:53 +01:00
cpu.h target/mips: Introduce ase_msa_available() helper 2021-01-14 17:13:53 +01:00
dsp_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
fpu_helper.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
fpu_helper.h target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
gdbstub.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
helper.h target/mips: msa: Split helpers for MULV.<B|H|W|D> 2020-06-15 20:51:04 +02:00
internal.h target/mips: Move mmu_init() functions to tlb_helper.c 2021-01-14 17:13:53 +01:00
kvm.c target/mips: Introduce ase_msa_available() helper 2021-01-14 17:13:53 +01:00
kvm_mips.h hw/mips: Implement the kvm_type() hook in MachineClass 2020-06-27 19:35:39 +02:00
lmmi_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
machine.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
meson.build target/mips: Only build TCG code when CONFIG_TCG is set 2021-01-14 17:13:53 +01:00
mips-defs.h target/mips/mips-defs: Rename ISA_MIPS32R6 as ISA_MIPS_R6 2021-01-14 17:13:53 +01:00
mips-semi.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
msa_helper.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
op_helper.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
tlb_helper.c target/mips: Move mmu_init() functions to tlb_helper.c 2021-01-14 17:13:53 +01:00
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate.c target/mips: Introduce ase_msa_available() helper 2021-01-14 17:13:53 +01:00
translate.h target/mips/translate: Expose check_mips_64() to 32-bit mode 2021-01-14 17:13:53 +01:00