Use ARM assembly when possible.
Fix compiler warnings.