Add Knights Landing support to __builtin_cpu_is
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 12 Aug 2015 14:52:22 +0000 (14:52 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 12 Aug 2015 14:52:22 +0000 (07:52 -0700)
commit51c728b17d8d83d8dc1facd6498a47d7e4b32cf4
tree65b9e6b4283b0752cd8a54be4b87000e6db3dbe4
parent026af5602fc92795148a60456abc14019df631ff
Add Knights Landing support to __builtin_cpu_is

This patch adds Knights Landing support to __builtin_cpu_is.

gcc/testsuite/

* gcc.target/i386/builtin_target.c (check_intel_cpu_model):
Check Knights Landing support.

libgcc/

* config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
(get_intel_cpu): Add Knights Landing support.

From-SVN: r226817
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/builtin_target.c
libgcc/ChangeLog
libgcc/config/i386/cpuinfo.c