On Tue, 20 Jun 2000, Ralf Baechle wrote:
> > Why did you change name of bits in CP0 regs ?
>
> The R3000 was using the R4000 naming of the bits.
Hmm, that's weird. It means my "IDT MIPS Microprocessor Family Software
Reference Manual" is bogus. But their definitions seem to have a
background, given the bits have different meaning for R3K and R4K+.
They state (these are not citations but shortly explain what they mean):
- CP0.SR.bit16 is IsC (Isolate Cache) for R3K, where it disables line
fills,
- CP0.SR.bit16 is DE (Disable ECC?) for R4K+, where it disables cache ECC
exceptions,
- CP0.SR.bit17 is SwC (Swap Caches) for R3K, where it swaps icache's and
dcache's roles,
- CP0.SR.bit17 is CE (Check ECC?) for R4K+, where it enables checking
of cache ECC bits via the CP0.ECC register.
This sounds reasonable -- i.e., why bits with a different semantics would
have the same names? Isn't that correct?
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
|