dimula73 at gmail.com
Mon Oct 29 08:45:53 UTC 2012
On Mon, Oct 29, 2012 at 12:28 PM, Boudewijn Rempt <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
I had an idea to perform a short set of benchmarks on a Krita start (or on
first start?) instead of inspecting a CPU and choose the most suitable
implementation, basing of these values. I guess, it should be the best
solution for the problem, since we can't test the performance of Krita on
all the possible CPUs.
But the optimized compilation of the Vc might be really a problem for usual
users. We (and distributions) need to think about it well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kimageshop