[PATCH, gfortran] libgfortran: implement fpu-macppc for Darwin, support IEEE arithmetic

2024-07-04 Thread Sergey Fedorov
>From 50fc05566ba7479844949d727233c04a5e8151e8 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sat, 29 Apr 2023 14:55:44 +0800 Subject: [PATCH] libgfortran: implement fpu-macppc for Darwin, support IEEE arithmetic Signed-off-by: Sergey Fedorov --- .../gfortran.dg/ieee/signaling_2_c.c

Re: [PATCH, gfortran] libgfortran: implement fpu-macppc for Darwin, support IEEE arithmetic

2024-07-04 Thread Sergey Fedorov
Below is the diff of tests for gfortran on powerpc-apple-darwin10.8.0 without (unmodified gcc upstream) vs with the gfortran patch being added. === gfortran Summary === -# of expected passes69273 -# of unexpected failures36 +# of expected passes69646 +# of unexpected

Re: [PATCH, gfortran] libgfortran: implement fpu-macppc for Darwin, support IEEE arithmetic

2024-07-04 Thread FX Coudert
Hi, The core of the powerpc-FPU manipulation is okay for me. Some comments below. > --- a/gcc/testsuite/gfortran.dg/ieee/signaling_2_c.c > +++ b/gcc/testsuite/gfortran.dg/ieee/signaling_2_c.c > @@ -1,3 +1,11 @@ > +#ifdef __POWERPC__ // No support for issignaling in math.h on Darwin PPC Two thin

Re: [PATCH, gfortran] libgfortran: implement fpu-macppc for Darwin, support IEEE arithmetic

2024-07-04 Thread Sergey Fedorov
On Fri, Jul 5, 2024 at 5:23 AM FX Coudert wrote: > Hi, > The core of the powerpc-FPU manipulation is okay for me. Some comments > below. > Thank you for reviewing! > > --- a/gcc/testsuite/gfortran.dg/ieee/signaling_2_c.c > > +++ b/gcc/testsuite/gfortran.dg/ieee/signaling_2_c.c > > @@ -1,3 +1,1