News for hackers. Stuff that matters.
Re:C Is Not a Low-level Language (2018) by astrange on Tuesday December 28, 2021 @01:56PM (#29716701)
They do expose cache control operations, but they’re rarely useful. If you get a lot of cache misses then you can add prefetches but this is very sensitive to what processor you’re on so it’s not always worth it.

And of course if you’re writing EFI code sometimes you haven’t turned the RAM on yet and cache is what you’re executing out of.

There are no comments on this comment yet.