[Webkit-unassigned] [Bug 54456] Optimizing lightning filter to ARM-neon SIMD instruction set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 1 04:31:13 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54456





--- Comment #23 from Benjamin Poulain <benjamin.poulain at nokia.com>  2011-03-01 04:31:12 PST ---
(From update of attachment 84203)
View in context: https://bugs.webkit.org/attachment.cgi?id=84203&action=review

> Source/WebCore/platform/graphics/filters/FELighting.cpp:312
> +#if CPU(ARM_NEON) && COMPILER(GCC)
> +        drawInteriorPixels(data, paintingData);
> +#else

Stricto sensu, this is not portable.
You can compile with Neon because you target Cortex CPUs, while at the same time you might deploy on some target without the Neon extension. A common Cortex CPU without Neon is the tegra.

What we do in Qt is using the hardware capabilities from the kernel to detect Neon at runtime (HWCAP_NEON).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list