Following D20970 (committed as r271726).
This is a substantial refactoring of the host CPU detection code.
There is no functionality change intended, but the changes are extensive.
Definitions of architecture types and subtypes are by no means exhaustive or
perfectly defined, but a fair starting point.
Suggestions for futher improvements are welcome.
I think there is a bug here. The break; will only break out of the inner switch, and for an unknown model of "amdfam10", we'll set the type to AMDFAM14H.