Using lswi/stswi inside the kernel
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.
Signature · 1 line
Frank
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
Quoted 12 lines · Frank van Maarseveen
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.
Signature · 5 lines
Frank _______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
Quoted 1 line
Yes, not all PowerPC implementations actually implement this instructions. Also, on a number of them there is no performance improvement when using the instructions.
Read: severe performance degradation ;-)
Segher