sim: move arch-specific file compilation of common/ files to top-level
33 files changed