All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS: Optimize TLB Refill for Octeon/Octeon2
@ 2010-12-28  2:07 David Daney
  2010-12-28  2:07 ` [PATCH 1/2] MIPS: Add LDX and LWX instructions to uasm David Daney
  2010-12-28  2:07 ` [PATCH 2/2] MIPS: Optimize TLB handlers for Octeon CPUs David Daney
  0 siblings, 2 replies; 10+ messages in thread
From: David Daney @ 2010-12-28  2:07 UTC (permalink / raw)
  To: linux-mips, ralf; +Cc: David Daney

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(-)

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-19 20:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28  2:07 [PATCH 0/2] MIPS: Optimize TLB Refill for Octeon/Octeon2 David Daney
2010-12-28  2:07 ` [PATCH 1/2] MIPS: Add LDX and LWX instructions to uasm David Daney
2010-12-28 17:11   ` Ralf Baechle
2010-12-28  2:07 ` [PATCH 2/2] MIPS: Optimize TLB handlers for Octeon CPUs David Daney
2010-12-28 17:11   ` Ralf Baechle
2011-01-19 19:35   ` Jonas Gorski
2011-01-19 19:41     ` David Daney
2011-01-19 19:46       ` Jonas Gorski
2011-01-19 20:05         ` David Daney
2011-01-19 20:44           ` Jonas Gorski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.