Guaranteed Guess: A Language Modeling Approach for CISC-to-RISC Transpilation with Testing Guarantees
Ahmed Heakl, Sarim Hashmi, Chaimaa Abi, Celine Lee, Abdulrahman Mahmoud
2025-06-18
Summary
This paper talks about a new method called Guaranteed Guess, which uses large language models to translate computer instructions from CISC to RISC architectures while making sure the translations are correct through software testing.
What's the problem?
The problem is that converting software written for complex instruction sets like CISC into simpler ones like RISC is hard because the instructions and hardware designs are very different, and mistakes in translation can cause the software to not work properly.
What's the solution?
The researchers developed a new pipeline that focuses on the instruction sets and uses large language models to generate translations between CISC and RISC code. They add software testing techniques to verify the correctness of the translation, ensuring that the resulting RISC code behaves the same as the original CISC code.
Why it matters?
This matters because translating between different hardware architectures accurately and efficiently is important for making software compatible with many devices. The method improves the reliability of such translations, helping software run smoothly on different computer types.
Abstract
A novel ISA-centric transpilation pipeline using LLMs and software testing achieves high correctness and efficiency in translating between complex and reduced hardware architectures.