Implement software prefetching instructions #234
Labels
3
Features of medium complexity or infrastructure enhancements
enhancement
Adds a new feature to simulation.
S2 — Caches
To solve the issue, you NEED knowledge about caches. OOO hierarchy etc.
MIPS IV introduces
pref
instruction which prefetches data from memory.The 1st difficulty is encoding:
pref
instruction has ahint
field which defines it behavior. We may think about prefetch instruction as a set of instructions (like REGIMM instructions):Secondly, prefetching is not a data read: it generates no traps.
Finally, prefetching may have different outcome depending on hints
The text was updated successfully, but these errors were encountered: