SH optimized software floating point routines

Christian Bruel christian.bruel@st.com
Thu Jul 22 07:22:00 GMT 2010


Christian Bruel wrote:
> Hi Kaz,
> 
> Kaz Kojima wrote:
> 
>>
>> BTW, it looks that softfp __unord?f2 routines check signaling NaNs
>> only.  This makes __builtin_isnan return false for quiet NaNs for
>> which current fp-bit ones return true when -mieee enabled.  Perhaps
>> that change of behavior might be OK for software FP.
> 
> I use the attached patch to handle the QNaNs in the assembly solf-fp. 
> Need to be updated for trunk (and update the dates in changelogs). Will do.

Edited to apply on top of latest Joern's patch. Certainly not optimal 
but it fixes the QNaNs checks for builtins and inlined unordered 
comparisons for -mieee or -fno-inite-math-only.

Best Regards

Christian


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qnans_trunk.patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20100722/eac0699a/attachment.ksh>


More information about the Gcc mailing list