turn arithmetic shift to logical in gcc
64x compatibility