This adds a common-avx512 CPU to target the avx512 features common between skylake-avx512 and knl.
Diff Detail
Event Timeline
include/llvm/Support/X86TargetParser.def | ||
---|---|---|
70 | Is there any reason in particular this isn't grouped with the other INTEL declarations above? I don't know if it should be or not. I assume eventually AMD will have an AVX512 offering and maybe common-avx512 can be used for both Intel and AMD targets. | |
lib/Target/X86/X86.td | ||
874 | AVX512F is supposed to be the minimum support needed for common AVX512 functionality. Instead of "common" throughout, would it make sense to just say "avx512f?" "common-avx512" isn't a specification that exists anywhere, while "avx512f" is. |
lib/Target/X86/X86.td | ||
---|---|---|
874 | This also includes AVX512CD(strangely named FeatureCDI) which both KNL and skylake support and is enabled by the -xCOMMON-AVX512 option in icc. I'm just trying to match that existing feature. I'll admit the name sucks |
lib/Target/X86/X86.td | ||
---|---|---|
874 | Ok, thanks for explaining. What about "avx512f-cd?" That name sucks too but is at least descriptive of what this is. "Common" seems too generic to me. |
Is there any reason in particular this isn't grouped with the other INTEL declarations above? I don't know if it should be or not. I assume eventually AMD will have an AVX512 offering and maybe common-avx512 can be used for both Intel and AMD targets.