Re: [PATCH] Add prctl to change endian of a task

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

 



From: Anton Blanchard <[email protected]>
Date: Tue, 4 Apr 2006 08:36:20 +1000

> The aim is not to implement little endian binaries but to assist
> running portions of code in little endian mode. The thought is we could
> hook up qemu to it and avoid having to byteswap.
> 
> While ppc has byteswap integer loads it does not have byteswap floating
> point loads and a byteswap involves loading into the integer unit,
> performing the byteswap, storing to a temporary location and loading
> into the floating point unit. Rather slow.

Doesn't PPC have a PTE bit that does endian swapping?  Wouldn't
that be easier to use for something like qemu?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux