I will be submitting a series of patches for AMD family 19H architecture.
This patch adds few znver3 tests to clang that are missing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Basic/Targets/X86.cpp | ||
---|---|---|
548 ↗ | (On Diff #310083) | Why is this being deleted? |
1339 ↗ | (On Diff #310083) | Same here? |
compiler-rt/lib/builtins/cpu_model.c | ||
480 ↗ | (On Diff #310083) | I thought this code was already added to compiler-rt by @bkramer |
llvm/test/CodeGen/X86/cpus-amd.ll | ||
30 ↗ | (On Diff #310083) | Why deleted? |
Comment Actions
This patch doesn't look like it is taking into account the existing (albeit limited) support for znver3 - it looks like a very bad merge imo.
It'd make much more sense to split this into several smaller incremental patches:
1 - cleanup any missing basic znver3 handling, building on the work that @bkramer has already done
2 - patches for the new INVLPGB/TLBSYNC/SNP instructions
3 - new znver3 scheduler model
Comment Actions
Updaing the patch so that the simplified patch adds only few missing znver3 tests. The subsequent patches will comprehensively enable other znver3 features.