[PATCH] fixing SSE detection in solid
thiago at kde.org
Fri Feb 8 14:10:26 GMT 2008
On Friday 08 February 2008 07:27:52 Tobias Koenig wrote:
> > > According to the specs, MMX is at bit 23, SSE at bit 25 and SSE2 at bit
> > > 26
> > >
> > > 0000 0110 1000 0000 0000 0000 0000 0000 <- msb
> > >
> > > So the bitmask 0x06800000 should cover the SSE/2 and MMX bit and
> > > 0x02000000 checks for SSE and 0x04000000 for SSE2.
> > I agree with the bitmasks (I assume you mean msb is the one at the far
> > left. ;)
> Hmm isn't msb the bit that represents 2^0? You see I'm not good at binary
> level ;)
MSB = Most significant bit.
2^0 is always LSB (Least significant bit).
Little-endian == LSB-first or LSB left or left-to-right
Big-endian == MSB-first or MSB left or right-to-left (like our normal numbers)
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel