On Sat, 1 Oct 2005, Ralf Baechle wrote: > > Of course if your TLB is indeed different from that of the R4k, then you > > shouldn't be setting cp0.config.mt to 1 in the first place... > > The reason was primarily the tiny bit of extra performance because the > SB1 doesn't need the hazard handling overhead. Also tlb-sb1 has a few That's hardly a justification for duplicating all the code; I've thought the reason was actually historical -- hadn't it been simply written separately initially and never got merged properly afterwards? > changes that are needed to initialize a TLB in undefined state after > powerup. That was needed to run Linux on firmware-less SB1 cores. But that's true about the power-up state of the TLB on any MIPS CPU, isn't it? Maciej