<div dir="ltr">Thanks for the ACK.<div><br></div><div>FreeBSD has support for two other architectures -- RISC-V and PowerPC. But they were going to require more work. It was a lot just to get the base infrastructure in.</div><div><br></div><div>RISC-V only had 64-bit support in FreeBSD as I recall. I'm hoping we can politely beg Hesham to tweak that and get it merged.</div><div><br></div><div>PowerPC has separate 32 and 64 bit FreeBSD ports. They would have to be merged based on our multilib of 32/64 bit environments.</div><div><br></div><div>I am unsure how both would deal with the situation where there is some odd FP configuration. The selection of long double implementation is primarily at configuration time.</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 7:10 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</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">OK. Well done on the long doubles work.<br>
<br>
Chris<br>
<br>
On 18/5/2023 7:13 am, Joel Sherrill wrote:<br>
> Previously newlib only had long double math functions when the<br>
> sizeof(double) was equal to sizeof(long double). Newlib now includes<br>
> support for true long double on x86, x86_64, and aarch64.<br>
> ---<br>
> rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++--<br>
> 1 file changed, 2 insertions(+), 2 deletions(-)<br>
> <br>
> diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg<br>
> index 16d075f..f4c47d4 100644<br>
> --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg<br>
> +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg<br>
> @@ -38,13 +38,13 @@<br>
> KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==<br>
> # Comment above related to #4657 and patches ends here<br>
> <br>
> -%define newlib_version c3798a2<br>
> +%define newlib_version 9ae9eef<br>
> %define newlib_external 1<br>
> %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}<br>
> %source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz \<br>
> <a href="https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%%7Bnewlib_version%7D" rel="noreferrer" target="_blank">https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}</a><br>
> %hash sha512 newlib-%{newlib_version}.tar.gz \<br>
> - 8qSfmZdAuDUgRX8WFyuMDGgEf+6CPbfo6bxOsBgrPHR++9QzunlFhMEnc1bV46pnCZUmcCWTXPH/+A7TSN4n4A==<br>
> + fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==<br>
> <br>
> %define with_threads 1<br>
> %define with_plugin 0<br>
</blockquote></div>