On Fri, Apr 14, 2017 at 8:47 PM, Eric Anholt <e...@anholt.net> wrote:

> I wrote this code with reference to pixman, though I've only decided to
> cover Linux (what I'm testing) and Android (seems obvious enough).  Linux
> has getauxval() as a cleaner interface to the /proc entry, but it's more
> glibc-specific and I didn't want to add detection for that.
>
> This will be used to enable NEON at runtime on ARMv6 builds of vc4.
>
> v2: Actually initialize the temp vars in the Android path (noticed by
>     daniels)
> v3: Actually pull in the cpufeatures library (change by robher).  Use
>     O_CLOEXEC.  Break out of the loop when we find our feature.  Only do
>     NEON detection, until someone actually wants VFP features.
>

Reviewed-by: Grazvydas Ignotas <nota...@gmail.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to