Re: [PATCH V4] Rework 128-bit complex multiply and divide.

2023-03-20 Thread Segher Boessenkool
On Mon, Mar 20, 2023 at 01:43:41PM -0400, Michael Meissner wrote: > On Fri, Mar 17, 2023 at 02:35:16PM -0500, Segher Boessenkool wrote: > > On Thu, Mar 09, 2023 at 08:40:36PM -0500, Michael Meissner wrote: > > /* { dg-final { scan-assembler {\m__divtc3\M} } } */ > > > > It might well be that we ca

Re: [PATCH V4] Rework 128-bit complex multiply and divide.

2023-03-20 Thread Michael Meissner via Gcc-patches
On Mon, Mar 20, 2023 at 01:43:41PM -0400, Michael Meissner wrote: > I think we will need backports for GCC 12. The issue exists in GCC 11, but I > don't think that GCC 11 can really work on systems with IEEE long double, > since > a lot of the stuff to really finish up the support was not in GCC

Re: [PATCH V4] Rework 128-bit complex multiply and divide.

2023-03-20 Thread Michael Meissner via Gcc-patches
On Fri, Mar 17, 2023 at 02:35:16PM -0500, Segher Boessenkool wrote: > Hi! > > On Thu, Mar 09, 2023 at 08:40:36PM -0500, Michael Meissner wrote: > > PR target/109067 > > * config/rs6000/rs6000.cc (create_complex_muldiv): Delete. > > (init_float128_ieee): Delete code to switch complex mu

Re: [PATCH V4] Rework 128-bit complex multiply and divide.

2023-03-17 Thread Segher Boessenkool
Hi! On Thu, Mar 09, 2023 at 08:40:36PM -0500, Michael Meissner wrote: > PR target/109067 > * config/rs6000/rs6000.cc (create_complex_muldiv): Delete. > (init_float128_ieee): Delete code to switch complex multiply and divide > for long double. > (complex_multiply_built

[PATCH V4] Rework 128-bit complex multiply and divide.

2023-03-09 Thread Michael Meissner via Gcc-patches
This patch reworks how the complex multiply and divide built-in functions are done. Previously GCC created built-in declarations for doing long double complex multiply and divide when long double is IEEE 128-bit. However, it did not support __ibm128 complex multiply and divide if long double is