[Top] [All Lists]

[PATCH 0/2] MIPS: Optimize TLB Refill for Octeon/Octeon2

Subject: [PATCH 0/2] MIPS: Optimize TLB Refill for Octeon/Octeon2
From: David Daney <>
Date: Mon, 27 Dec 2010 18:07:55 -0800
Cc: David Daney <>
Original-recipient: rfc822;
Octeon and Octeon2 have scratch memory, and/or scratch registers that
allow us to save some instructions in the TLB refill handler.  Octeon2
has indexed load instructions that also can help.

The first patch adds uASM support for the indexed loads.  The second
essentially hand codes the refill handler with a view to optimally
scheduling the instructions to reduce stalls and increase the number
of dual issue slots that can be filled.

David Daney (2):
  MIPS: Add LDX and LWX instructions to uasm.
  MIPS: Optimize TLB handlers for Octeon CPUs

 arch/mips/include/asm/inst.h |   14 ++
 arch/mips/include/asm/uasm.h |    4 +
 arch/mips/mm/tlbex.c         |  361 ++++++++++++++++++++++++++++++++++++------
 arch/mips/mm/uasm.c          |    7 +-
 4 files changed, 334 insertions(+), 52 deletions(-)


<Prev in Thread] Current Thread [Next in Thread>