Separate arch-specific code into separate folders