[power-ieee128] OPEN CONV
Thomas Koenig
tkoenig@netcologne.de
Fri Jan 7 21:40:50 GMT 2022
On 07.01.22 20:52, Jakub Jelinek wrote:
> Here is completely untested patch that implements something,
> but doesn't implement the gcc option stuff, nor the CONVERT=
> syntax to supply multiple conversion options nor done anything
> about env var nor any testcases.
>
> But it tries to have the native/swap/big/little choice orthogonal from
> native/r16_ieee/r16_ibm with r16_ieee and r16_ibm only supported on
> ppc64le-linux.
>
> For INQUIRE it has the so far perhaps manageable set of possibilities
> handled so that it uses string literals and doesn't have to construct
> those strings at runtime (haven't studied how it would need to be done).
>
> I'm afraid I don't know that stuff enough to move forward from this.
That looks like the direction to go.
I will take it from there and see if I can find some hours over the
weekend to work on something. Unfortunately, my daytime job will
kick in again on Monday :-)
One thing that one has to watch out for is a big-endian IBM long double
file, so the byte swapping will have to be done before assigning
the value.
Best regards
Thomas
More information about the Fortran
mailing list