Add fallback CPU feature detection for Android
authorJan Schmidt <jan@centricular.com>
Tue, 26 Aug 2014 05:29:50 +0000 (15:29 +1000)
committerJan Schmidt <jan@centricular.com>
Tue, 26 Aug 2014 05:32:02 +0000 (15:32 +1000)
commitdfcc456c2b31deab21501e889c89bd168a50a411
treeddc9bb43f1e270e59f77bb9b2c51cd66e76a04b9
parent3c7cb2d3029628454eb22c7f4bc3451197462779
Add fallback CPU feature detection for Android

On Android, /proc/self/auxv might not be readable (except
when debuggable=true in the build, annoyingly), so do what
the android cpufeatures detection code does and fall back to
/proc/cpuinfo string matching.

Without this, release builds run really slowly, due to ORC always
doing emulation.
orc/orccpu-arm.c