From: Patrick McGehearty <patrick.mcgehearty@oracle.com>
To: libc-alpha@sourceware.org
Subject: Re: [PATCH] improves exp() and expf() performance on Sparc.
Date: Wed, 06 Sep 2017 20:31:00 -0000 [thread overview]
Message-ID: <f1b16668-b50e-48c0-14e6-730a7b084b02@oracle.com> (raw)
In-Reply-To: <59AD3C67.3070203@arm.com>
On 9/4/2017 6:43 AM, Szabolcs Nagy wrote:
> On 01/09/17 23:59, Patrick McGehearty wrote:
>> --- /dev/null
>> +++ b/sysdeps/sparc/fpu/libm_endian.h
> is this header useful?
>
>> +#define XBIASED_EXP(x) ((((int *)&x)[HIXWORD] & 0x7fffffff) >> 16)
>> +#define ISZEROL(x) (((((int *)&x)[0] & ~XSGNMSK) | ((int *)&x)[1] | \
>> + ((int *)&x)[2] | ((int *)&x)[3]) == 0)
> i don't see these used and such aliasing violation
> is not acceptable anyway.
>
These definitions are not used in the new exp routines.
I will remove them from my next submission as well as HIXWORD and XSGNMSK.
If later porting of other math routines suggests
they might be useful, we can discuss what to do at that time.
- patrick
next prev parent reply other threads:[~2017-09-06 20:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-01 22:59 Patrick McGehearty
2017-09-01 23:14 ` Joseph Myers
2017-09-06 20:34 ` Patrick McGehearty
2017-09-06 21:01 ` Joseph Myers
2017-09-07 20:42 ` Patrick McGehearty
2017-09-07 21:05 ` Joseph Myers
2017-09-07 23:53 ` Patrick McGehearty
2017-09-04 11:43 ` Szabolcs Nagy
2017-09-06 20:31 ` Patrick McGehearty [this message]
2017-09-11 18:50 Wilco Dijkstra
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=f1b16668-b50e-48c0-14e6-730a7b084b02@oracle.com \
--to=patrick.mcgehearty@oracle.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).