[PATCH] removed SOFTFP fenv support from ARM

Eshan Dhawan eshandhawan51 at gmail.com
Fri Jul 17 12:15:45 UTC 2020


> On 17-Jul-2020, at 10:40 AM, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
> 
> On 17/07/2020 01:23, Eshan dhawan wrote:
> 
>>  int fegetexcept(void)
>>  {
>> -    int __unmasked;
>>  -    __unmasked = 0;
>>  #ifndef SOFTFP_ABI
> 
> Do we need this extra define, can't we use
> 
> #ifndef __SOFTFP__
> 
> like in glibc?

“Paradoxically,the -mfloat-abi=softfp does not set the __SOFTFP___ macro, since it selects real floating point instructions using the soft-float ABI at function-call interfaces.” 

So SOFTFP_ABI is defined. :)
You can read more here : 
https://wiki.debian.org/ArmEabiPort#:~:text=__VFP_FP__%20means%20that,and%20is%20always%20little%2Dendian
Under “ GCC preprocessor macros for floating point ”

-Eshan
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200717/b6d9c1c5/attachment.html>


More information about the devel mailing list