From: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
To: "kito.cheng@sifive.com" <kito.cheng@sifive.com>
Cc: 'GNU C Library' <libc-alpha@sourceware.org>
Subject: [PATCH] riscv: Set __GLIBC_FLT_EVAL_METHOD to 0 if __FLT_EVAL_METHOD__ is -1
Date: Wed, 15 Feb 2023 14:13:10 +0000 [thread overview]
Message-ID: <PAWPR08MB898222154C8FB5A0ECF896C983A39@PAWPR08MB8982.eurprd08.prod.outlook.com> (raw)
Hi Kito,
This looks like a recent bug in LLVM - even with -Ofast compilers continue to
use float and double for evaluation (obviously!), so float_t and double_t should
not change (which may break ABI if some code uses -Ofast and some doesn't,
leading to incompatible float_t/double_t definitions).
So this should be reported to and fixed in LLVM, and if we want/need to work
around it in GLIBC, it should be done in the generic flt-eval-method.h header
so that it works on all targets.
Cheers,
Wilco
next reply other threads:[~2023-02-15 14:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-15 14:13 Wilco Dijkstra [this message]
2023-02-16 13:48 ` Kito Cheng
2023-02-16 16:57 ` Wilco Dijkstra
-- strict thread matches above, loose matches on Subject: below --
2023-02-15 11:17 Kito Cheng
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=PAWPR08MB898222154C8FB5A0ECF896C983A39@PAWPR08MB8982.eurprd08.prod.outlook.com \
--to=wilco.dijkstra@arm.com \
--cc=kito.cheng@sifive.com \
--cc=libc-alpha@sourceware.org \
/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).