public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: 'GNU C Library' <libc-alpha@sourceware.org>
Subject: [PATCH 5/5] ia64: Use generic exp10f
Date: Thu, 18 Jun 2020 17:18:04 +0000	[thread overview]
Message-ID: <DB8PR08MB5036BBBB844E43C778FD6BBF839B0@DB8PR08MB5036.eurprd08.prod.outlook.com> (raw)

Hi Adhemerval,

On 09/04/2020 16:59, Adhemerval Zanella wrote:
> The generic implementation is slight worse (Itanium(R) Processor 9020):
> 
> Before new code:
>   "exp10f": {
>    "": {
>     "duration": 3.52876e+08,
>     "iterations": 2.1456e+07,
>     "max": 232.907,
>     "min": 7.766,
>     "mean": 16.4465
>    }
>   }
> 
> With new code:
>   "exp10f": {
>    "": {
>     "duration": 3.67279e+08,
>     "iterations": 2.1456e+07,
>     "max": 220.718,
>     "min": 15.503,
>     "mean": 17.1178
>    }
>   }
> 
> However it fixes all the issues on both:
> 
>   math/test-float-exp10
>   math/test-float32-exp10
> 
> (all the issues wrong results for non default rounding modes).

That's only a 4% slowdown - given it removes almost 600 lines of target
specific code and fixes various bugs, it's well worth it. LGTM.

Wilco

             reply	other threads:[~2020-06-18 17:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 17:18 Wilco Dijkstra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-09 19:59 [PATCH 1/5] benchtests: Add exp10f benchmark Adhemerval Zanella
2020-04-09 19:59 ` [PATCH 5/5] ia64: Use generic exp10f Adhemerval Zanella
2020-04-09 21:18   ` Joseph Myers
2020-04-16 20:52     ` Adhemerval Zanella
2020-04-29 17:11   ` Adhemerval Zanella
2020-05-20 20:19     ` Adhemerval Zanella

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=DB8PR08MB5036BBBB844E43C778FD6BBF839B0@DB8PR08MB5036.eurprd08.prod.outlook.com \
    --to=wilco.dijkstra@arm.com \
    --cc=adhemerval.zanella@linaro.org \
    --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).