[llvm] [X86][SchedModel] Add masked gather/scatter overrides to Znver4Model (PR #212997)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 19:48:37 PDT 2026
================
@@ -509,6 +509,143 @@ defm : Zn4WriteResInt<WriteLoad, [Zn4AGU012, Zn4Load], !add(Znver4Model.LoadLate
// Does not cost anything by itself, only has latency, matching that of the WriteLoad,
defm : Zn4WriteResInt<WriteVecMaskedGatherWriteback, [], !add(Znver4Model.LoadLatency, 1), [], 0>;
+// AVX-512 masked GATHER / SCATTER. Microcoded, so entries are keyed by
+// (#elements, element width, index width); the two index widths share an entry
+// only where they measure alike. Zn4FPU0123 carries the fitted bottleneck,
+// round(tput * 4), and every other resource its physical occupancy, so a
+// retune edits the Zn4FPU0123 number. Measured on Znver4 and accurate to about
----------------
MattPD wrote:
Confirmed: The measurement record now states that every mask bit was set.
https://github.com/llvm/llvm-project/pull/212997
More information about the llvm-commits
mailing list