<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>(cross posted from discord) I did some digging and it looks like the right macros/defines to gate on are <span>CPU</span><span>_SOFTWARE</span><span>_FP and </span><span>CPU</span><span>_HARDWARE</span><span>_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.<br></span></div><div><span><br></span></div><div><span>Kinsey<br></span></div><div><span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 28, 2023 at 10:35 AM Alex White <<a href="mailto:alex.white@oarcorp.com">alex.white@oarcorp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Aug 28, 2023 at 10:31 AM Sam Price <<a href="mailto:thesamprice@gmail.com" target="_blank">thesamprice@gmail.com</a>> wrote:<br>
><br>
> Nevermind that would be done at the linker and not at compile time.<br>
<br>
I searched for some way to check if soft float routines are being used, but I<br>
couldn't find anything.<br>
<br>
Maybe we just remove the conditional altogether? I don't think it's a problem<br>
to have an extra print statement on targets that use hardware floating point<br>
instructions. This would simplify the code and make it more portable.<br>
<br>
Alex<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div>