Introduce execution mode independent bitwise shift and clear operations.
Calling conventions fixes for ppc64.