> 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.” 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 >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel