[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e3cc1552-4f96-4aa0-a375-a5582094c1ae@linaro.org>
Date: Mon, 27 May 2024 14:38:36 +0200
From: Philippe Mathieu-Daudé <philmd@...aro.org>
To: Jiaxun Yang <jiaxun.yang@...goat.com>, Jonathan Corbet <corbet@....net>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mips@...r.kernel.org
Subject: Re: [PATCH] MIPS: Implement ieee754 NAN2008 emulation mode
On 7/5/24 14:34, Jiaxun Yang wrote:
> Implement ieee754 NAN2008 emulation mode.
>
> When this mode is enabled, kernel will accept ELF file
> compiled for both NaN 2008 and NaN legacy, but if hardware
> does not have capability to match ELF's NaN mode, __own_fpu
> will fail for corresponding thread and fpuemu will then kick
> in.
>
> This mode trade performance for corretness, while maintaining
"correctness"
> support for both NaN mode regardless of hardware capability.
> It is useful for multilib installation that have both types
> of binary exist in system.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@...goat.com>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 4 +++-
> arch/mips/include/asm/fpu.h | 15 +++++++++++++++
> arch/mips/kernel/elf.c | 4 ++++
> arch/mips/kernel/fpu-probe.c | 10 +++++++++-
> 4 files changed, 31 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@...aro.org>
Powered by blists - more mailing lists