[PATCH] fixing SSE detection in solid
Tobias Koenig
tokoe at kde.org
Fri Feb 8 06:27:52 GMT 2008
On Thu, Feb 07, 2008 at 06:37:21PM -0500, Michael Pyne wrote:
> On Wednesday 06 February 2008, Tobias Koenig wrote:
Hej,
> > 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 ;)
> I've tried running solidshell again after applying the patch but it doesn't
> seem to change the output at all. Is there a better testcase to use?
I used the tutorial3 from the techbase examples about solid.
http://api.kde.org/4.0-api/kdelibs-apidocs/solid/html/tutorial3.html
Ciao,
Tobias
--
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080208/8fee6ac0/attachment.sig>
More information about the kde-core-devel
mailing list