buildin_cpu_is already supports amdfam10h and amdfam15h, the 'sans-h'
version to the check and enable it.
Addtionally, add amdfam15 as an alias for bdver1, like amdfam10 is for
barcelona.
Paths
| Differential D38601
Enable amdfam15,amdfam15h, and amdfam10h support AbandonedPublic Authored by erichkeane on Oct 5 2017, 2:31 PM.
Details
Summary buildin_cpu_is already supports amdfam10h and amdfam15h, the 'sans-h' Addtionally, add amdfam15 as an alias for bdver1, like amdfam10 is for
Diff Detail Event TimelineComment Actions Talking to Craig, this is just wrong for these features. Attribute-target does some funky things in order to make this work, so I'll just bring those 'hacks' into my other patch.
Revision Contents
Diff 117897 lib/Basic/Targets/X86.cpp
test/CodeGen/target-builtin-noerror.c
test/Preprocessor/predefined-arch-macros.c
|