Split off code that depends on machine architecture.