cpu detection

Andre Gemuend scroogie at scroogie.de
Mon Oct 29 11:13:31 UTC 2012


On 10/29/2012 09:45 AM, Dmitry Kazakov wrote:
> On Mon, Oct 29, 2012 at 12:28 PM, Boudewijn Rempt <boud at valdyas.org 
> <mailto:boud at valdyas.org>> wrote:
>
>     I'm not sure whether there's already something suitably
>     cross-platform in solid, but Rami Radi from Intel pointed me at
>     http://libcpuid.sourceforge.net/documentation.html -- we could use
>     that to make sure that binaries compiled with avx support don't
>     crash on non-avx systems but use the fallback.
>
>
> As far as I know Vc does its own check for the presence of a 
> particular instruction set on the runtime, so it won't crash at least. 
> But as reported by Sven its own fallbacks are slower than our integer 
> implementation of the routines.

Hi Dmitry,

and what about the idea that Sven posted: using the same integer 
optimizations in SIMD? Or does VC not provide 16bit unsigned integer? 
Because in that way it should automatically use the same optimizations 
in the fallback, shouldn't it?

Greetings
André


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20121029/25895b67/attachment.html>


More information about the kimageshop mailing list