Thread (3 messages) 3 messages, 2 authors, 2003-10-20

RE: [PATCH] Remove 7 instructions in 8xx ITLB Miss when pinned TLBs is set

From: Joakim Tjernlund <hidden>
Date: 2003-10-20 16:54:55

Joakim Tjernlund wrote:
quoted
I have updated the patch to address the modules issue. I have also included my response to Dans mail
since I forgot to include the list in that reply.
Fine....I'll check it in.


	-- Dan
Thanks Dan

There is another small optimization that can be done in the TLB Miss/Error handlers. Move
branch instructions 1 instruction away from the test. That will give branch prediction
a chance to do its job. I did a run with LM bench and it did a difference (barley). The
down side is that the code gets harder to read. I found 5 branch instructions that
could be moved:
DTLB Error, 3 branches can be moved.
DTLB Miss, 1 branch can be moved.
ITLB Miss, 1 branch can be moved.

What do you think? Want a patch?

 Jocke

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help