preinstall.am files
- Avoid saving/restoring r10 as it's used by TLS.
- Optimize context switch to save/restore only preserved
registers across functions calls.