Moved an arch-specific function to the correct file.