L4 completely add support for multi predictor, working on ver 5 mat para

This commit is contained in:
Youmu Liu
2026-04-10 18:05:40 +08:00
parent b5bee5c442
commit 8a66c1697a
16 changed files with 602 additions and 191 deletions
@@ -45,6 +45,11 @@ namespace StgSharp.HighPerformance.Memory
public interface IL4Predict
{
bool IsSamePolicy(
uint policy,
IL4Predict predict
);
PredictResult Predict(
Span<CacheLinePrediction> node,
out int count
@@ -65,7 +70,7 @@ namespace StgSharp.HighPerformance.Memory
/// </param>
void Prefetch(
nuint origin,
ulong policy,
uint policy,
Span<byte> cache
);