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


On 17-Jul-2020, at 10:40 AM, Sebastian Huber <sebastian.hu...@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.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to