(cross posted from discord) I did some digging and it looks like the right macros/defines to gate on are CPU_SOFTWARE_FP and CPU_HARDWARE_FP. The FP code in the loadable module should only be present if at least one of those is available and the definition in the host binary should only be present if the former is true. It looks like these aren't set correctly in at least some cases.
Kinsey On Mon, Aug 28, 2023 at 10:35 AM Alex White <alex.wh...@oarcorp.com> wrote: > On Mon, Aug 28, 2023 at 10:31 AM Sam Price <thesampr...@gmail.com> wrote: > > > > Nevermind that would be done at the linker and not at compile time. > > I searched for some way to check if soft float routines are being used, > but I > couldn't find anything. > > Maybe we just remove the conditional altogether? I don't think it's a > problem > to have an extra print statement on targets that use hardware floating > point > instructions. This would simplify the code and make it more portable. > > Alex > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel