Re: [PATCH] MIPS: Provide Kconfig option for default IEEE754 conformance mode
From: Maciej W. Rozycki
Date: Sun Aug 02 2020 - 17:46:42 EST
On Fri, 31 Jul 2020, Serge Semin wrote:
> > Requested by downstream distros, a Kconfig option for default
> > IEEE754 conformance mode allows them to set their mode to
> > relaxed by default.
> That's what should have been here in the first place. Thanks!
Well, originally plans were there to have NaN interlinking implemented
and no such mess or desire for hacks like one here would result. Cf.:
You could well pick this work up and complete it if you like. Final
conclusions for further work were made here:
In the relaxed mode math programs may produce wrong results unless you
rebuild all your software for the correct NaN mode for the hardware used
(in which case you don't need the relaxed setting in the first place).