public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Szabolcs Nagy <szabolcs.nagy@arm.com>
Cc: GNU C Library <libc-alpha@sourceware.org>, <nd@arm.com>
Subject: Re: [PATCH 4/6] Add new log2 implementation
Date: Wed, 27 Jun 2018 15:47:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.20.1806271542050.17687@digraph.polyomino.org.uk> (raw)
In-Reply-To: <77536c53-496b-9b8b-88fd-f7bf4312c1c2@arm.com>

On Wed, 27 Jun 2018, Szabolcs Nagy wrote:

> Improvements on Cortex-A72 compared to current glibc master:
> latency: 2.0x
> thruput: 1.9x

Could you clarify this testing more?  If you were testing on AArch64, this 
patch should have resulted in no changes at all to performance, because 
AArch64 uses sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c and you're not 
changing or removing the wordsize-64 version in this patch.

(I expect it would make sense for this patch to remove the wordsize-64 
version.  Generically, it might make sense to see if the dbl-64 functions 
are actually any better for 32-bit systems than the dbl-64/wordsize-64 
versions - if GCC is good enough at generating code for the wordsize-64 
versions on 32-bit systems, reducing the number of variants by using some 
or all of the wordsize-64 versions also on 32-bit systems might make 
sense.)

-- 
Joseph S. Myers
joseph@codesourcery.com

  reply	other threads:[~2018-06-27 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27 14:54 Szabolcs Nagy
2018-06-27 15:47 ` Joseph Myers [this message]
2018-06-27 16:06   ` Szabolcs Nagy

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=alpine.DEB.2.20.1806271542050.17687@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=nd@arm.com \
    --cc=szabolcs.nagy@arm.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).