On Tue, 18 Mar 2025 at 11:31, Aleksandar Rakic
<aleksandar.ra...@htecgroup.com> wrote:
>
> Hi,
>
> If ieee754 equals EMULATED, then the variables mips_use_nan_2008 and
> mips_use_nan_legacy are set to true
> ( 
> https://elixir.bootlin.com/linux/v6.13.6/source/arch/mips/kernel/fpu-probe.c#L208
>  )
> and any binaries are accepted regardless of whether supported by the FPU
> ( https://elixir.bootlin.com/linux/v6.13.6/source/arch/mips/kernel/elf.c#L154 
> )

I presume from the name of that setting that in that case a
real kernel is doing trap-and-emulate for binaries of the
wrong FPU type (which must perform appallingly badly...)  ?

Does QEMU set up the CPU for linux-user mode so that it
effectively does emulation as-if both NaN modes were supported?
I can't see that happening from a quick grep.

Also, this doesn't seem to be related to the ABI_FP_SOFT setting.

thanks
-- PMM

Reply via email to