OSDN Git Service

[x86] Bring some sanity to the x86 CPU processor definitions.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 9 Dec 2014 10:58:36 +0000 (10:58 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 9 Dec 2014 10:58:36 +0000 (10:58 +0000)
commit8729843d31f8e010d1deb80ad01a7488f0ab8fd1
tree290faad55a25150ec55bd277e823718b04229285
parent05a824843d5942e1384db56ef67b9169b424b4cd
[x86] Bring some sanity to the x86 CPU processor definitions.

Notably, this adds simple micro-architecture names for the Intel CPU
variants, and defines the old 'core'-based names as aliases. GCC has
started to simplify their documented interface to use these names as
well, so it seems like we can start to converge on a consistent pattern.

I'd appreciate Intel double checking the entries that aren't yet
documented widely, especially Atom (Bonnell and Silvermont), Knights
Landing, and Skylake. But this change shouldn't break any existing
users.

Also, ran clang-format to re-format this code and it actually worked
(modulo a tiny bug) so hopefully we can start to stop thinking about
formatting this stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223769 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86.td