CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2015/09/23 13:13:55

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

Log message:
In tlb_update(), when inserting an entry for a KV1 address, reuse the
current ASID value rather than using zero, so that we can avoid writing
back the ASID on exit (and waste cycles because of expensive coprocessor 0
hazards).

While there, use conditional instructions when picking a random TLB set number,
in order to waste one branch prediction cache entry.

Reply via email to