[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: cpu detection
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2012-10-29 12:15:54
Message-ID: alpine.LNX.2.00.1210291315280.26686 () calcifer ! valdyas ! org
[Download RAW message or body]
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.
Boudewijn
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic