From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from protonic.prtnl (protonic.xs4all.nl [213.84.116.84]) by ozlabs.org (Postfix) with ESMTP id 97DD2DDFAE for ; Tue, 17 Mar 2009 03:09:16 +1100 (EST) From: David Jander To: linuxppc-dev@ozlabs.org Subject: Re: [RFC][PATCH v5] MPC5121 TLB errata workaround Date: Mon, 16 Mar 2009 17:09:14 +0100 References: <200903161652.09747.david.jander@protonic.nl> In-Reply-To: <200903161652.09747.david.jander@protonic.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200903161709.14682.david.jander@protonic.nl> Cc: Paul Mackerras , gunnar@genesi-usa.com, Wolfgang Denk List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , In this patch, I placed the LRW table in SPRG6 like before, but Kumar's code seems a little more compact, so I decided to use that one and fix it ;-) It's a pity we seem to have one register short in the handler, so we need to load SPRN_SRR1 twice :-( Allthough the code-path now has 1 instruction less than my previous version most of the time (and 2 instructions more when way is not adjusted), benchmark results are barely affected by this: 1.- mplayer: Total time: 50.392s (50.316s previous patch) 2.- prboom timedemo: 20.1 fps (19.9 fps previous patch) 3.- memcpy speed: 179 MByte/s (180 Mbyte/s previous patch) Conclusion: difference not measurable between v4 and v5. Best regards, -- David Jander Protonic Holland.