Subject: Re: stmw/lmw [Was: CVS commit: src/sys/arch/powerpc/powerpc]
To: Simon Burge <simonb@wasabisystems.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 08/04/2003 07:51:09
On Sunday, August 3, 2003, at 06:31 PM, Simon Burge wrote:
> Does this have any measurable impact on trap response and context
> switch
> times (simply because of more instruction fetches)? It's also larger
> code, so we have greater I$ pollution...
It might be worth #ifdef'ing the use of those insns, using
__OPTIMIZE_SIZE__ to use the load/store-multiple insns on non-PPC64.
It's worth noting, however, that individual load/store insns are
probably going to be faster than the load/store-multiple on most modern
PPCs (like, probably everything since the 601).
-- Jason R. Thorpe <thorpej@wasabisystems.com>