From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Wilco Dijkstra <Wilco.Dijkstra@arm.com>,
Szabolcs Nagy <Szabolcs.Nagy@arm.com>
Cc: 'GNU C Library' <libc-alpha@sourceware.org>
Subject: Re: [PATCH] AArch64: Add support for roundeven[f]
Date: Tue, 8 Jun 2021 14:11:14 -0300 [thread overview]
Message-ID: <040d08ec-5501-eb1b-b3a8-d5b8ffe04ef8@linaro.org> (raw)
In-Reply-To: <VE1PR08MB55999E84CE90366C3DBBD60783379@VE1PR08MB5599.eurprd08.prod.outlook.com>
On 08/06/2021 09:40, Wilco Dijkstra via Libc-alpha wrote:
> Hi Szabolcs,
>
>> i checked if we can do this via builtins, but
>>
>> - __builtin_roundeven is only available since gcc-10
>> - gcc as of now is not able to inline it as single instruction.
>
> I've created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100966,
> but even if it did, we can't use the builtin until the minimum GCC that
> GLIBC supports inlines the builtin. So that may be quite a few years away...
I was thinking more in laying out the required internal code, by
adding the math-use-builtin-roundeven.h and the required code on
the generic implementation. However, due current compiler support
I am not sure it is really worth.
next prev parent reply other threads:[~2021-06-08 17:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 14:51 Wilco Dijkstra
2021-06-08 8:49 ` Szabolcs Nagy
2021-06-08 12:40 ` Wilco Dijkstra
2021-06-08 17:11 ` Adhemerval Zanella [this message]
2021-06-08 20:33 ` Joseph Myers
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=040d08ec-5501-eb1b-b3a8-d5b8ffe04ef8@linaro.org \
--to=adhemerval.zanella@linaro.org \
--cc=Szabolcs.Nagy@arm.com \
--cc=Wilco.Dijkstra@arm.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).