diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2025-03-15 22:58:46 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2025-04-10 11:05:07 +0100 |
commit | 95f10974a9190e345776604480a2df0191104308 (patch) | |
tree | 93d9d2f876d5f1252a31079f8efa357adf834d5d /libjava/classpath/lib/java | |
parent | f1e82c859fc205395e4f413cdc0b95f54a48ce92 (diff) | |
download | gcc-95f10974a9190e345776604480a2df0191104308.zip gcc-95f10974a9190e345776604480a2df0191104308.tar.gz gcc-95f10974a9190e345776604480a2df0191104308.tar.bz2 |
libgcobol: Allow libgcobol to use libquadmath [PR119244].
Many of the changes are mechanical:
1. 'GCOB_FP128' in place of _Float128.
2. Using FP128_FUNC to represent the spelling of intrinsics.
3. Using GCOB_FP128_LITERAL() to choose the suffix for literals.
This allows for:
__float128 and 'q' as the suffix when libquadmath is configured.
_Float128 / 'f128' when IEC-60559 is available in libc
long double / 'l' when long double is ieee753 128b.
Add libquadmath to libgcobol.spec and its dependencies where the
platform needs it.
PR cobol/119244
libgcobol/ChangeLog:
* Makefile.am: Add support for libquadmath.
* Makefile.in: Regenerate.
* acinclude.m4: Add support for libquadmath.
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Configure libquadmath support.
* gmath.cc: Use GCOB_FP128 to represent the configured
128b floating point type. Use FP128_FUNC to represent
the naming of intrinsics in the configure 128b floating
point type. Render literals with GCOB_FP128_LITERAL.
* intrinsic.cc: Likewise.
* libgcobol.cc: Likewise.
* libgcobol.h: Likewise.
* libgcobol-fp.h: New file.
* gfileio.cc: Include libgcobol-fp.h.
* libgcobol.spec.in: Add libquadmath configure output.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'libjava/classpath/lib/java')
0 files changed, 0 insertions, 0 deletions