3 ms·
> At the cost of the compiler keeping track of the address of results as they pass through the mill. The compiler already does this. Traditional architectures
by Veedrac 11y ago
> At the cost of the compiler keeping track of the address of results as they pass through the mill.
The compiler already does this. Traditional architectures then require you to use these results to make a register mapping, which is then basically (kind-of) undone in hardware with register renaming.
The Mill (kind'a) just doesn't do these two steps.
> And hardware doesn't do it well at all
It really does, though. Compiler-aided prefetch, even if magically perfect, wouldn't even help here since the problem is in the data layout.