Hoping to share this with clang to allow sharing with implementation of __builtin_cpu_is
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 11742 Build 11742: arc lint + arc unit
Event Timeline
Comment Actions
I added a CPUISVALID that you should be able to use to know if its valid for builtin_cpu_is. The name for builtin_cpu_is is the first string. Empty string if its not valid. The corresponding march names are the second string. Host.cpp needed to translate to -march names.
include/llvm/Support/X86TargetParser.def | ||
---|---|---|
21 | One thin gthat would be incredibly useful (and remove most of the need for the table in clang) is if this also contained the 64bit-ness of the processor. ALSO, If you cuold remove the namespace from all of these (perhaps just use a 'using' elsewhere?) I could use it to create the enum names as well. | |
73 | Why does amdfam17h appear 2x? Should the 1st be znver1? |
One thin gthat would be incredibly useful (and remove most of the need for the table in clang) is if this also contained the 64bit-ness of the processor.
ALSO, If you cuold remove the namespace from all of these (perhaps just use a 'using' elsewhere?) I could use it to create the enum names as well.