public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Wei Qin <wqin@EE.Princeton.EDU>
Cc: nathan@cs.bris.ac.uk, kelley.r.cook@gm.com,
	Preeti Aira <ms_preeti@hotmail.com>, gcc <gcc@gcc.gnu.org>,
	gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Number of 1's in 64 bit number...[don't read if not interested in          algos/math...]
Date: Thu, 25 Apr 2002 15:15:00 -0000	[thread overview]
Message-ID: <20020425151327.A2527@redhat.com> (raw)
In-Reply-To: <Pine.SOL.4.43.0204251500020.27320-100000@ivy.ee.princeton.edu>; from wqin@EE.Princeton.EDU on Thu, Apr 25, 2002 at 03:12:07PM -0400

On Thu, Apr 25, 2002 at 03:12:07PM -0400, Wei Qin wrote:
> On a x86 linux platform, it takes 80% more time than the table lookup one.

On hot cache, maybe.  On cold cache the arithmetic will
definitely be faster.


r~

  reply	other threads:[~2002-04-25 22:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-25  9:46 kelley.r.cook
2002-04-25 10:13 ` Wei Qin
2002-04-25 10:36   ` Nathan Sidwell
2002-04-25 11:24     ` Gabriel Paubert
2002-04-26  2:41       ` [OT] Re: Number of 1's in 64 bit number...[don't read if not intereste d " Bernd Jendrissek
2002-04-26  4:23         ` Gabriel Paubert
2002-04-25 12:15     ` Number of 1's in 64 bit number...[don't read if not interested " Wei Qin
2002-04-25 15:15       ` Richard Henderson [this message]
2002-04-25 15:47         ` Wei Qin
2002-04-25 17:55   ` Daniel Berlin
  -- strict thread matches above, loose matches on Subject: below --
2002-04-27 12:44 David Rasmussen
2002-04-24 21:55 Preeti Aira
2002-04-24 22:35 ` Alan Modra
2002-04-24 23:08 ` Vivek Srivastava
2002-04-24 23:51   ` Jaswant
2002-04-25  0:39   ` Gerald Pfeifer

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=20020425151327.A2527@redhat.com \
    --to=rth@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    --cc=kelley.r.cook@gm.com \
    --cc=ms_preeti@hotmail.com \
    --cc=nathan@cs.bris.ac.uk \
    --cc=wqin@EE.Princeton.EDU \
    /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).