From: FX Coudert <fxcoudert@gmail.com>
To: Thomas Koenig <tkoenig@netcologne.de>
Cc: sgk@troutmask.apl.washington.edu,
Harald Anlauf via Fortran <fortran@gcc.gnu.org>,
gcc-patches@gcc.gnu.org,
Michael Meissner <meissner@linux.ibm.com>
Subject: Re: [PATCH] Fortran: add Fortran 2018 IEEE_{MIN,MAX} functions
Date: Sat, 10 Jun 2023 17:24:37 +0200 [thread overview]
Message-ID: <38FC9C0B-84A0-43F9-A2B9-4F404A14E083@gmail.com> (raw)
In-Reply-To: <db623877-5002-65b4-c779-9b0955ce4b1c@netcologne.de>
Hi Thomas,
> The KIND=17 is a bit of a kludge. It is not visible for
> user programs, they use KIND=16, but this is then translated
> to library calls as if it was KIND=17 if the IEEE 128-bit floats
> are selected
Can you check what the IEEE test results are when -mabi=ieeelongdouble is enabled?
It’s not even clear to me what the IEEE kinds selected should be, in this case, depending on -mabi=ieeelongdouble
> Regarding FX's patch: I am not quite sure that I am
> actually testing the right thing if running the testsuite
> there, so POWER should not hold up this patch. If it turns
> out that POWER needs additonal work on IEEE, we can always
> add that later.
Actually, it sounds like the situation is: the same target can have two ABIs based on a compile-time flag. That sounds like a job for multilib, i.e., we should compile libgfortran twice, one for each ABI. I am sure this was considered and rejected, do you remember what was the rationale?
Thanks,
FX
next prev parent reply other threads:[~2023-06-10 15:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-06 13:19 FX
2023-06-06 15:43 ` Steve Kargl
2023-06-06 15:51 ` Steve Kargl
2023-06-06 18:21 ` Steve Kargl
2023-06-06 19:00 ` Harald Anlauf
2023-06-06 19:11 ` FX Coudert
2023-06-07 18:31 ` Harald Anlauf
2023-06-07 18:50 ` Steve Kargl
2023-06-08 10:17 ` Thomas Koenig
2023-06-08 10:21 ` FX Coudert
2023-06-08 11:24 ` Thomas Koenig
2023-06-08 16:31 ` Steve Kargl
2023-06-08 18:17 ` Thomas Koenig
2023-06-10 15:24 ` FX Coudert [this message]
2023-06-11 9:50 ` Thomas Koenig
2023-06-11 13:43 ` FX Coudert
2023-06-06 19:35 ` FX Coudert
2023-06-07 3:15 ` Steve Kargl
2023-06-10 15:42 ` FX Coudert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38FC9C0B-84A0-43F9-A2B9-4F404A14E083@gmail.com \
--to=fxcoudert@gmail.com \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=meissner@linux.ibm.com \
--cc=sgk@troutmask.apl.washington.edu \
--cc=tkoenig@netcologne.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).