More Info

Revision 69742d0...

(Back to digest)
 

Other in KDE Base

Kevin Kofler committed changes in [kdelibs] /solid/backends:

Solid: More efficient SSE3/SSE4 checks.

This moves the SSE3 and SSE4 checks from the udev backend to the shared code,
reusing the existing cpuid testing framework. It also avoids the overhead of
parsing /proc/cpuinfo, which was being done every single time
Processor::instructionSets was called (because the code was not part of the
initialization of the cached static variable).

I changed the flag internally used for Altivec from 0x1 to 0x2 to avoid overlap
with the new x86 flags.

Discussed on IRC with Lukáš Tinkl.

File Changes

Modified 4 files
/solid/backends
 
solid/shared/cpufeatures.cpp
 
solid/udev/cpuinfo.cpp
 
solid/udev/cpuinfo.h
 
solid/udev/udevprocessor.cpp
4 files changed in total