Move AESNI generation to Skylake and Goldmont
authorErich Keane <erich.keane@intel.com>
Mon, 10 Sep 2018 21:12:21 +0000 (21:12 +0000)
committerErich Keane <erich.keane@intel.com>
Mon, 10 Sep 2018 21:12:21 +0000 (21:12 +0000)
commit75822226917b552ee77f414c20a81373690b6c62
tree5e37c4f612f73152722abeb5ef2a1d9112b99215
parent911ddd6db532715f5f09386047e2cb35c012c747
Move AESNI generation to Skylake and Goldmont

The instruction set first appeared with Westmere, but not all processors
in that and the next few generations have the instructions. According to
Wikipedia[1], the first generation in which all SKUs have AES
instructions are Skylake and Goldmont. I can't find any Skylake,
Kabylake, Kabylake-R or Cannon Lake currently listed at
https://ark.intel.com that says "IntelĀ® AES New Instructions" "No".

This matches GCC commit
https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01940.html

[1] https://en.wikipedia.org/wiki/AES_instruction_set

Patch By: thiagomacieira
Differential Revision: https://reviews.llvm.org/D51510

llvm-svn: 341862
clang/lib/Basic/Targets/X86.cpp