[Ping] PowerPC: Add float128/Decimal conversions.

Segher Boessenkool segher@kernel.crashing.org
Thu Jan 28 03:11:49 GMT 2021


On Tue, Jan 26, 2021 at 06:43:06PM -0500, Michael Meissner wrote:
> I posted this patch on January 14th, 2021:
> https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563498.html
> 
> | Date: Thu, 14 Jan 2021 12:09:36 -0500
> | Subject: [PATCH] PowerPC: Add float128/Decimal conversions.
> | Message-ID: <20210114170936.GA3319@ibm-toto.the-meissners.org>
> 
> You had a question about what changed, and I replied:
> 
> | In your last message, you said that it was unacceptable that the conversion
> | fails if the user uses an old GLIBC.  So I rewrote the code using weak
> | references.  If the user has at least GLIBC 2.32, it will use the IEEE 128-bit
> | string support in the library.
> |
> | If an older GLIBC is used, I then use the IBM 128-bit format as an intermediate
> | value.  Obviously there are cases where IEEE 128-bit can hold values that IBM
> | 128-bit can't (mostly due to the increased exponent range in IEEE 128-bit), but
> | it at least does the conversion for the numbers in the common range.
> |
> | In doing this transformation, I needed to do minor edits to the main decimal
> | to/from binary conversion functions to allow the KF functions to be declared.
> | Previously, I used preprocessor magic to rename the functions.
> 
> This is the second most important patch in the IEEE 128-bit work.  What do I
> need to do to be able to commit the patch?

The whole thread is at https://patchwork.ozlabs.org/project/gcc/patch/20201120000524.GA903@ibm-toto.the-meissners.org/ .

I approved *that* version of the patch.


Segher


More information about the Gcc-patches mailing list