Instruction Set Migration at Warehouse Scale
By: Eric Christopher , Kevin Crossan , Wolff Dobson and more
Potential Business Impact:
Helps computers switch to new brains faster.
Migrating codebases from one instruction set architecture (ISA) to another is a major engineering challenge. A recent example is the adoption of Arm (in addition to x86) across the major Cloud hyperscalers. Yet, this problem has seen limited attention by the academic community. Most work has focused on static and dynamic binary translation, and the traditional conventional wisdom has been that this is the primary challenge. In this paper, we show that this is no longer the case. Modern ISA migrations can often build on a robust open-source ecosystem, making it possible to recompile all relevant software from scratch. This introduces a new and multifaceted set of challenges, which are different from binary translation. By analyzing a large-scale migration from x86 to Arm at Google, spanning almost 40,000 code commits, we derive a taxonomy of tasks involved in ISA migration. We show how Google automated many of the steps involved, and demonstrate how AI can play a major role in automatically addressing these tasks. We identify tasks that remain challenging and highlight research challenges that warrant further attention.
Similar Papers
ARISE: Automating RISC-V Instruction Set Extension
Hardware Architecture
Makes computer chips run faster and smaller.
A WASM-Subset Stack Architecture for Low-cost FPGAs using Open-Source EDA Flows
Hardware Architecture
Makes tiny computers run programs using less space.
Guaranteed Guess: A Language Modeling Approach for CISC-to-RISC Transpilation with Testing Guarantees
Computation and Language
Makes old computer programs run on new ones.