public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [power-ieee128] Which options for libquadmath / native ieee128
@ 2021-12-13 20:29 Thomas Koenig
  2021-12-13 22:00 ` Michael Meissner
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Koenig @ 2021-12-13 20:29 UTC (permalink / raw)
  To: fortran, gcc mailing list, Michael Meissner


Hi,

looking at what the REAL(KIND=17) numbers should be compiled for, I see
the following options that should be considered:

a) xsaddqp and friends are not supported by the CPU; libquadmath should
    be called for all operations, including simple arithmetic.

b) xsaddqp and friends are supported, but glibc is too old and lacks the
    *ieee128 functions.  libquadmath should be called for these
    functions.

c) xsaddqp and friends are supported, and glibc is new enough.  Call
    the *ieee128 functions.

What is the best way to check in the library config files that the quad
precision instructions are supported (to differentiate between a) on the
one hand and b) and c) on the other?

And which options to the compiler make sure the libquadmath library
is called?

Regards

	Thomas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-13 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 20:29 [power-ieee128] Which options for libquadmath / native ieee128 Thomas Koenig
2021-12-13 22:00 ` Michael Meissner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).