qemu/target/mips
Peter Maydell 0c587f1339 target/mips: Explicitly set 2-NaN propagation rule
Set the 2-NaN propagation rule explicitly in the float_status words
we use.

For active_fpu.fp_status, we do this in a new fp_reset() function
which mirrors the existing msa_reset() function in doing "first call
restore to set the fp status parts that depend on CPU state, then set
the fp status parts that are constant".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20241025141254.2141506-5-peter.maydell@linaro.org
2024-11-05 10:09:53 +00:00
..
sysemu exec/cpu: Extract page-protection definitions to page-protection.h 2024-05-06 11:17:15 +02:00
tcg target/mips: Use tcg_constant_tl() instead of tcg_gen_movi_tl() 2024-10-15 12:21:04 -03:00
cpu-defs.c.inc target/mips: Use generic cpu_list() 2024-01-05 16:20:14 +01:00
cpu-param.h license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later 2024-09-20 10:11:59 +03:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu.c target/mips: Explicitly set 2-NaN propagation rule 2024-11-05 10:09:53 +00:00
cpu.h hw/mips: Have mips_cpu_create_with_clock() take an endianness argument 2024-10-15 12:21:06 -03:00
fpu_helper.h target/mips: Explicitly set 2-NaN propagation rule 2024-11-05 10:09:53 +00:00
fpu.c target/mips: Optimize CPU/FPU regnames[] arrays 2021-05-02 16:49:34 +02:00
gdbstub.c target/mips: Prefer fast cpu_env() over slower CPU QOM cast macro 2024-03-12 12:04:24 +01:00
helper.h target/mips: Implement Loongson CSR instructions 2023-07-10 23:33:37 +02:00
internal.h target/mips: Introduce mo_endian_env() helper 2024-10-15 12:13:59 -03:00
Kconfig target/mips: Restrict semihosting to TCG 2024-07-22 09:38:10 +01:00
kvm_mips.h kvm: Introduce kvm_arch_get_default_type hook 2023-08-22 17:31:02 +01:00
kvm.c kvm: Allow kvm_arch_get/put_registers to accept Error** 2024-10-03 22:04:19 +02:00
meson.build meson: rename config_all 2023-12-31 09:11:28 +01:00
mips-defs.h target/mips: introduce decodetree structure for Cavium Octeon extension 2022-07-12 22:30:09 +02:00
msa.c target/mips: Explicitly set 2-NaN propagation rule 2024-11-05 10:09:53 +00:00