cpu detection

Dmitry Kazakov dimula73 at gmail.com
Mon Oct 29 12:19:15 UTC 2012

On Mon, Oct 29, 2012 at 4:15 PM, Boudewijn Rempt <boud at valdyas.org> wrote:

> On Mon, 29 Oct 2012, Dmitry Kazakov wrote:
>> Well, of course we need to do something with it. The Intel's manual
>> suggests creating separate dynamic libraries
>> and load the only one that is supported by the host CPU. We could do
>> something like that. We could move all the
>> code using Vc into a separate library and compile, say, 5 copies of it:
>> for SSE2, SSE3, SSSE3, SSE4 and AVX. The
>> on Krita start we could choose the needed library. The problem is I don't
>> know how to dynamically load a
>> library. More than that I can't imagine how to do that in a crossplatform
>> way.
> Ah, but that is actually easy: we do it all the time with our plugins.

Cool! Then we can do it this way.

Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20121029/39bc2f62/attachment.html>

More information about the kimageshop mailing list