top | item 45656062

(no title)

MrCheeze | 4 months ago

Exactly what I was going to post. Optimizations like loop unrolling slow down the N64 because keeping the code size small is the most important factor. I think even compilers of the time got this wrong, not just modern ones.

discuss

order

president_zippy|4 months ago

The one that really blows me away is how KazeEmmanuar explained the software-controlled cache. Using it well would involve either manually making calls to load/invalidate it or writing a compiler backend that replaces loading data from memory into registers with instructions to load specific memory address ranges into cache.

The whole thing reminds me in a fuzzy way that I don't yet fully comprehend of register-memory architecture.