OSDN Git Service

Make host ARM CPU feature detection independent of the vendor
authorTobias Grosser <grosser@fim.uni-passau.de>
Tue, 11 Jun 2013 21:45:01 +0000 (21:45 +0000)
committerStephen Hines <srhines@google.com>
Tue, 11 Jun 2013 21:54:11 +0000 (14:54 -0700)
commit7a57f27b857ec4b243d83d392a399f02fc196c0a
tree99a7cfcf31b2c2aadf5a7e5835a88b091a105102
parent1d0324a7ff1a858e29b498776cd1c4d0ee8465d6
Make host ARM CPU feature detection independent of the vendor

For ARM on linux we use /proc/cpuinfo to detect the host CPU's features.
Linux derives these values without ever looking at the vendor of the
specific CPU implementation. Hence, it adds little value, if we parse
the output of /proc/cpuinfo only for certain vendors.

This patch enables us to derive the correct feature flags e.g. for Qualcomm
CPUs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183790 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Host.cpp