This patch enables the following
- AMD family 17h "znver2" tune flag (-march, -mcpu).
- ISAs that are enabled for "znver2" architecture.
- For the time being, it uses the znver1 scheduler model.
- Tests are updated.
Paths
| Differential D58343
Enablement for AMD znver2 architecture - skeleton patch ClosedPublic Authored by GGanesh on Feb 18 2019, 4:25 AM.
Details Summary This patch enables the following
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Feb 19 2019, 9:05 AM Closed by commit rL354897: [X86] AMD znver2 enablement (authored by ggopala). · Explain WhyFeb 26 2019, 8:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 187386 include/llvm/Support/X86TargetParser.def
lib/Support/Host.cpp
lib/Target/X86/X86.td
test/CodeGen/X86/cpus-amd.ll
test/CodeGen/X86/lzcnt-zext-cmp.ll
test/CodeGen/X86/slow-unaligned-mem.ll
test/CodeGen/X86/x86-64-double-shifts-var.ll
|
This list must be kept in the same order as libgcc's implementation for __builtin_cpu_is. New entries can't be added in the middle. If libgcc doesn't support znver2 yet, then you should use X86_CPU_SUBTYPE instead of X86_CPU_SUBTYPE_COMPAT.