Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-03-29 Thread Michael Meissner via Gcc-patches
On Sat, Mar 27, 2021 at 04:07:18PM +0100, Florian Weimer wrote: > This issue is still present. > > What about the patch below? > > Thanks, > Florian > > rs6000: Do not build _Float128/Decimal routines with --disable-decimal-float > > Fixes commit 781183595acba67a37c66f59a0c1d9b5fee7e248 ("Add c

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-03-29 Thread Michael Meissner via Gcc-patches
On Sat, Mar 27, 2021 at 04:07:18PM +0100, Florian Weimer wrote: > This issue is still present. > > What about the patch below? > > Thanks, > Florian > > rs6000: Do not build _Float128/Decimal routines with --disable-decimal-float > > Fixes commit 781183595acba67a37c66f59a0c1d9b5fee7e248 ("Add c

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-03-29 Thread Segher Boessenkool
Hi! On Sat, Mar 27, 2021 at 04:07:18PM +0100, Florian Weimer wrote: > * Michael Meissner via Gcc-patches: > > On Wed, Feb 24, 2021 at 11:12:54PM +, Joseph Myers wrote: > >> This change appears to have broken builds for powerpc in a configuration > >> that bootstraps a cross toolchain starting

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-03-27 Thread Florian Weimer via Gcc-patches
* Michael Meissner via Gcc-patches: > On Wed, Feb 24, 2021 at 11:12:54PM +, Joseph Myers wrote: >> This change appears to have broken builds for powerpc in a configuration >> that bootstraps a cross toolchain starting with a GCC build with no libc >> available. >> >> Specifically, such a bo

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-25 Thread Segher Boessenkool
On Thu, Feb 25, 2021 at 02:23:01AM +, Joseph Myers wrote: > On Wed, 24 Feb 2021, Segher Boessenkool wrote: > > > The other option, which we need for correctness *anyway*, is to have > > libgcc do the conversion without using any specific libc. > > Which ends up being quite complicated (see e.

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-25 Thread Michael Meissner via Gcc-patches
On Wed, Feb 24, 2021 at 11:12:54PM +, Joseph Myers wrote: > This change appears to have broken builds for powerpc in a configuration > that bootstraps a cross toolchain starting with a GCC build with no libc > available. > > Specifically, such a bootstrap build uses --disable-decimal-float a

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-24 Thread Joseph Myers
On Wed, 24 Feb 2021, Segher Boessenkool wrote: > The other option, which we need for correctness *anyway*, is to have > libgcc do the conversion without using any specific libc. Which ends up being quite complicated (see e.g. https://www.cl.cam.ac.uk/~jrh13/papers/decimal.pdf for a more detailed

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-24 Thread Segher Boessenkool
Hi! On Wed, Feb 24, 2021 at 11:12:54PM +, Joseph Myers wrote: > This change appears to have broken builds for powerpc in a configuration > that bootstraps a cross toolchain starting with a GCC build with no libc > available. > > Specifically, such a bootstrap build uses --disable-decimal-fl

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-24 Thread Joseph Myers
This change appears to have broken builds for powerpc in a configuration that bootstraps a cross toolchain starting with a GCC build with no libc available. Specifically, such a bootstrap build uses --disable-decimal-float among other options (in the first GCC build before libc has been built),

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-22 Thread Segher Boessenkool
On Mon, Feb 22, 2021 at 03:52:52PM -0500, Michael Meissner wrote: > On Sat, Feb 20, 2021 at 06:33:12PM -0600, Segher Boessenkool wrote: > > So if built with a glibc version before 2.32 (less than a year old) it > > will give the wrong answer. This needs improving, or it will be another > > eight o

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-22 Thread Michael Meissner via Gcc-patches
On Sat, Feb 20, 2021 at 06:33:12PM -0600, Segher Boessenkool wrote: > Hi! > > On Tue, Feb 09, 2021 at 02:35:05AM -0500, Michael Meissner wrote: > > This patch implements conversions between _Float128 and the 3 Decimal > > floating > > types. It does this by extendending the dfp-bit conversions t

Re: [PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-20 Thread Segher Boessenkool
Hi! On Tue, Feb 09, 2021 at 02:35:05AM -0500, Michael Meissner wrote: > This patch implements conversions between _Float128 and the 3 Decimal floating > types. It does this by extendending the dfp-bit conversions to add a new > binary floating point type (KF), and doing the conversions in the sam

[Ping #3, Patch V2] Add conversions between _Float128 and Decimal.

2021-02-16 Thread Michael Meissner via Gcc-patches
Ping patch | Subject: [PATCH, V2] Add conversions between _Float128 and Decimal. | Message-ID: <20210209073505.ga11...@ibm-toto.the-meissners.org> https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565009.html I was asked to resubmit the patch with the copyright dates fixed, and

[PING, PATCH V2] Add conversions between _Float128 and Decimal.

2021-02-11 Thread Michael Meissner via Gcc-patches
Ping patch | Subject: [PATCH, V2] Add conversions between _Float128 and Decimal. | Message-ID: <20210209073505.ga11...@ibm-toto.the-meissners.org> https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565009.html I was asked to resubmit the patch with the copyright dates fixed, and

[PATCH, V2] Add conversions between _Float128 and Decimal.

2021-02-08 Thread Michael Meissner via Gcc-patches
[PATCH V2] Add conversions between _Float128 and Decimal. This patch implements conversions between _Float128 and the 3 Decimal floating types. It does this by extendending the dfp-bit conversions to add a new binary floating point type (KF), and doing the conversions in the same manner as the