Only flush the required registers on function calls (only implemented for real on ARM)