gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partial success building the trunk on MSYS2/Windows platform


From: Gaius Mulley
Subject: Re: Partial success building the trunk on MSYS2/Windows platform
Date: Thu, 17 Nov 2022 15:13:26 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Gaius Mulley <gaiusmod2@gmail.com> writes:

> "Fischlin  Andreas" <andreas.fischlin@env.ethz.ch> writes:
>
>> Dear Gaius,
>>
>> Follow up: For our portable floating point arithmetic module
>> FloatPortab (Dialogue Machine) we have also implemented checks in
>> terms of type lengths that may succeed or not across hard- and
>> software (compilers) by
>> running a little overhead checking code during module
>> initialisation. This needs only to be done once and then you can
>> rely on correct interpretation and any numerical use of routines
>> from that module have to pay no
>> performance penalty at all.
>
> Hi Andreas,
>
> sounds great!  Currently gm2 can be requested to check against a NaN
> after every floating point operation -fsoft-check-all, highlighting the
> operator in the source code which caused the result,

I just performed a test on a game engine (with/without -fsoft-check-all)
and there was no noticable drop in frames per second.  Interestingly all
the nan detection is being implemented inline even with -O0 :-)

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]