xianyi/OpenBLAS — pull request #424 by ihnorton (2014-07-31 05:18:20+00:00)
Title: cpuid_arm: fix detection when cpuinfo uses "Processor"

This patch fixes cpuid on arm when `/proc/cpuinfo` identifies the cpu by `Processor` rather than `model name`.

On my system (Samsung Chromebook XE303C12 / Exynos5 / Cortex A15 with Ubuntu 12.04), cpuinfo has the following output:

```
user@chrubuntu:~/dev/OpenBLAS$ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 4 (v7l)
processor : 0
BogoMIPS : 1694.10

processor : 1
BogoMIPS : 1694.10

Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc0f
CPU revision : 4

Hardware : SAMSUNG EXYNOS5 (Flattened Device Tree)
Revision : 0000
Serial : 0000000000000000
```

(based on some limited google searches, I believe that some other ARM systems have such output, but I do not know what is the general convention)