Go to file
Craig Topper e6b07073ca [compiler-rt][X86] Match the detection of cpu's for __cpu_model to the latest version of gcc
Summary:
We were missing many feature flags that newer gcc supports and we had our own set of feature flags that gcc didnt' support that were overlapping. Clang's implementation assumes gcc's features list so a mismatch here is problematic.

I've also matched the cpu type/subtype lists with gcc and removed all the cpus that gcc doesn't support. I've also removed the fallback autodetection logic that was taken from Host.cpp. It was the main reason we had extra feature flags relative to gcc. I don't think gcc does this in libgcc.

Once this support is in place we can consider implementing __builtin_cpu_is in clang. This could also be needed for function dispatching that Erich Keane is working on.

Reviewers: echristo, asbirlea, RKSimon, erichkeane, zvi

Reviewed By: asbirlea

Subscribers: dberris, llvm-commits

Differential Revision: https://reviews.llvm.org/D35214

llvm-svn: 307878
2017-07-13 02:56:24 +00:00
clang Reland "[Driver] Update Fuchsia driver path handling" 2017-07-12 22:14:41 +00:00
clang-tools-extra clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp: Resolve flakiness in the test. 2017-07-13 02:06:30 +00:00
compiler-rt [compiler-rt][X86] Match the detection of cpu's for __cpu_model to the latest version of gcc 2017-07-13 02:56:24 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Fix unrepresentable enum for clang-cl unstable ABI 2017-07-12 01:45:13 +00:00
libcxxabi Remove dependancy on __refstring header; use local copy instead. 2017-07-12 01:34:21 +00:00
libunwind [libunwind][CMake] Add install path variable to allow overriding the destination 2017-07-11 01:12:09 +00:00
lld Refactor gdb index creation. 2017-07-12 23:56:53 +00:00
lldb The llvm.org bugzilla moved. 2017-07-13 00:36:21 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [MIR] Add support for printing and parsing target MMO flags 2017-07-13 02:28:54 +00:00
openmp Rename z_Linux_asm.s to z_Linux_asm.S 2017-07-11 18:04:56 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [PPCGCodeGen] Differentiate kernels based on their parent Scop 2017-07-12 16:46:19 +00:00