qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Patch] Swapping functions for Mac OS X


From: stegefin
Subject: Re: [Qemu-devel] [Patch] Swapping functions for Mac OS X
Date: Mon, 26 Jul 2004 19:48:16 +0200
User-agent: Internet Messaging Program (IMP) 3.2.4

Benjamin,

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

Pierre

Quoting Benjamin Herrenschmidt <address@hidden>:

>
> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]