commit | 4750c1d804a793edc1f00d4f8b9777352bb0a761 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Jun 26 21:36:32 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Jun 26 21:36:32 2012 +0000 |
tree | 3fca3e1c609667032f9962cd085c8ca98654939b | |
parent | 275c85f1a7d04cf1dc6c166211dc2d72fea43c0d [diff] |
Implement getHostCPUName for ARM/linux. This will be used to implement -march=native in clang. The cpuid registers are only available in privileged mode so we don't have an OS-independent way of implementing this. ARM doesn't provide a list of processor IDs so the list is somewhat incomplete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159228 91177308-0d34-0410-b5e6-96231b3b80d8