qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: stegefin@free.fr
To: qemu-devel@nongnu.org, Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: Re: [Qemu-devel] [Patch] Swapping functions for Mac OS X
Date: Mon, 26 Jul 2004 19:48:16 +0200	[thread overview]
Message-ID: <1090864096.410543e04e12c@imp5-q.free.fr> (raw)
In-Reply-To: <1090679632.3753.0.camel@gaston>

Benjamin,

I think that the NXSwap functions are defined as inlined asm in the header.

Pierre

Quoting Benjamin Herrenschmidt <benh@kernel.crashing.org>:

>
> On Sat, 2004-07-17 at 09:50, Pierre d'Herbemont wrote:
> > Hi Fabrice,
> >
> > I think it should be quite useful to use the swapping functions on Mac
> > OS X. However I don't see a huge performance gain with this patch.
>
> Ugh ? How cna it be useful to call into library functions why you can
> use inline assembly ? Actually, if the swap is done on data loaded/stored
> from/to memory, then you can use the ppc endian swapped load/store
> instructions
>
> Ben.
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

  reply	other threads:[~2004-07-26 17:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-17 13:50 [Qemu-devel] [Patch] Swapping functions for Mac OS X Pierre d'Herbemont
2004-07-24 14:33 ` Benjamin Herrenschmidt
2004-07-26 17:48   ` stegefin [this message]
2004-07-26 21:00     ` Laurent Amon
2004-07-28  1:13     ` Benjamin Herrenschmidt

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=1090864096.410543e04e12c@imp5-q.free.fr \
    --to=stegefin@free.fr \
    --cc=benh@kernel.crashing.org \
    --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).