public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
To: "Paul A. Clarke" <pc@us.ibm.com>
Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org>,
	'GNU C Library' <libc-alpha@sourceware.org>
Subject: Re: RFC: Improve hypot performance
Date: Thu, 18 Nov 2021 12:37:24 +0000	[thread overview]
Message-ID: <VE1PR08MB55999CB894F533CB584F0769839B9@VE1PR08MB5599.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20211117190249.GC7755@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com>

Hi Paul,

> On Power10, this implementation is still has a large delta compared to the
> current implementation:

It's obvious something went wrong here since it is slower than Adhemerval's
version - did you look at the generated code?

It should use fma, and no division or function calls (if you see calls to fmin/fmax
you need to set FAST_FMINMAX to 0).

Cheers,
Wilco

  reply	other threads:[~2021-11-18 12:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 15:58 Wilco Dijkstra
2021-11-17 19:02 ` Paul A. Clarke
2021-11-18 12:37   ` Wilco Dijkstra [this message]
2021-11-18 15:43     ` Paul A. Clarke
2021-11-18 16:15       ` Paul A. Clarke
2021-11-18 17:39         ` 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=VE1PR08MB55999CB894F533CB584F0769839B9@VE1PR08MB5599.eurprd08.prod.outlook.com \
    --to=wilco.dijkstra@arm.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.org \
    --cc=pc@us.ibm.com \
    /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).