Messages in this thread | | | Date | Wed, 28 Jan 2009 15:47:44 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86: do not expose CONFIG_BSWAP to userspace |
| |
Harvey Harrison wrote: > On Wed, 2009-01-28 at 15:27 -0800, H. Peter Anvin wrote: >> Harvey Harrison wrote: >>> Well, that's unfortunate, how about we just export the BSWAP version >>> unconditionally and hope pure i386 just goes away someday? >>> >> Well, we already have MOVBE coming up, too... >> > > Is someone already working on an __arch_swab{16|32|64}p to use them? >
Not that I know of, but it's trivial enough. They can also be used for all-register swapping, too, with the advantage that you get register decoupling.
-hpa
| |