[Spice-devel] C version of find_msb()

Alexander Larsson alexl at redhat.com
Mon May 3 07:13:10 PDT 2010


On Sat, 2010-05-01 at 22:25 -0600, Bryan Stillwell wrote:
> Recently I tried building the Ubuntu SPICE packages on powerpc and found
> that the spicec package fails on some x86 assembly code in
> common/gl_utils.h.  This motivated me to create an optimized C version
> of the find_msb() function, which I've attached.
> 
> This patch allows people to build the spice-client on any 32bit/64bit
> architecture, but it doesn't solve the endianess problems in the SPICE
> protocol itself.  Has anyone looked into the network byte-ordering
> issues?

Cool, i pushed this to git.



More information about the Spice-devel mailing list