From: Thiemo Seufer <ths@networkno.de>
To: "J. Mayer" <l_indien@magic.fr>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Proposal for host-utils
Date: Sun, 28 Oct 2007 16:13:28 +0000 [thread overview]
Message-ID: <20071028161327.GA22287@networkno.de> (raw)
In-Reply-To: <1193576560.16781.322.camel@rapid>
J. Mayer wrote:
>
> On Sun, 2007-10-28 at 00:53 +0200, J. Mayer wrote:
> > Following the previous discussions about host-utils implementations,
> > here's a patch with the following changes:
> > - move mulu64 and muls64 definitions from exec.h to host-utils.h, for
> > consistency
> > - include host-utils.h in more files to reflect this change
> > - make the optimized version of mulu64 / muls64 for amd64 hosts static
> > inline
> > - change clz64 to avoid 64 bits logical operations to optimize the 32
> > bits host case
> > - add ctz32, ctz64, cto32 and cto64, using the same method than ctlzxx /
> > cloxx implementations
> > - add ctpop8, ctpop16, ctpop32 and ctpop64, using the Sparc target
> > implementation method
> > ctpop8 is used by the PowerPC target, I added ctpop16 for consistency
> > - change the Alpha and the PowerPC targets to use those helpers
>
> I did commit the ctz, cto and ctpop helpers. I have a remaining patch
> that contains the changes for mulu64 / muls64 and optimize clz64 and
> clo64, avoiding 64 bits values manipulation, which may help when running
> on a 32 bits host.
>
> Please comment.
I like it.
Thiemo
prev parent reply other threads:[~2007-10-28 16:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-27 22:53 [Qemu-devel] Proposal for host-utils J. Mayer
2007-10-28 13:02 ` J. Mayer
2007-10-28 16:13 ` Thiemo Seufer [this message]
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=20071028161327.GA22287@networkno.de \
--to=ths@networkno.de \
--cc=l_indien@magic.fr \
--cc=qemu-devel@nongnu.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 NNTP newsgroup(s).