[PATCH] removed SOFTFP fenv support from ARM

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 17 12:23:16 UTC 2020


On 17/07/2020 14:15, Eshan Dhawan wrote:

>
>> 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.”
Yes, this is right and in this case we need the VFP implementation.


More information about the devel mailing list