Using lswi/stswi inside the kernel

Kumar Gala kumar.gala at freescale.com
Thu Jul 14 23:24:55 EST 2005


Yes, not all PowerPC implementations actually implement this  
instructions.  Also, on a number of them there is no performance  
improvement when using the instructions.

- kumar

On Jul 14, 2005, at 7:52 AM, Frank van Maarseveen wrote:

> Are there any issues I should be aware of?
>
> I think most SAVE_GPR* and REST_GPR* macros could be replaced by a
> single lswi/stswi instruction.
>
> -- 
> Frank
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>




More information about the Linuxppc-dev mailing list