This is extracted from my 64-bit integer series and should be applied first, it just cleans up the 64-bit type checking. It adds a new macro, the cleans up gallivm and radeonsi to use it, along with cleaning up a few double specific things. Dave.