CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2012/04/24 14:06:22

Modified files:
        sys/arch/mips64/mips64: cache_r5k.S 

Log message:
Harvest some low-hanging fruit in thu R5k/RM7k cache routines:
- replace masking with large `power of two minus one' constants with a pair of
shifts, this is shorter code and does not require the at register.
- merge R5000 and RM52xx setup, as the configuration register layout is the same
on both processors.
- In Mips5k_IOSyncDCache(), delay building the call frame until we know we
will not perform a leaf call. Replace leaf calls with jumps to the
appropriate routines.

Tested on R5000, RM5271 and RM7000.

Reply via email to