Binary translation using peephole superoptimizers
Sorav Bansal, Alex Aiken · 2008
We present a new scheme for performing binary translation that produces code comparable to or better than existing binary translators with much less engineering effort. Instead of hand-coding the translation from one instruction set to another, our approach automatically learns translation rules using superoptimization techniques. We have implemented a PowerPC-x86 binary translator and report results on small and large computeintensive benchmarks. When compared to the native compiler, our translated code achieves median performance of 67 % on large benchmarks and in some small stress tests actually outperforms the native compiler. We also report comparisons with the open source binary translator Qemu and a commercial tool, Apple’s Rosetta. We consistently outperform the former and are comparable to or faster than the latter on all but one benchmark. 1
Cited by 86 works. doi:10.5555/1855741.1855754
Authors
References
- Chaff
- Dynamo
- Embra
- Efficient Conflict Driven Learning in a Boolean Satisfiability Solver
- Efficient, transparent, and comprehensive runtime code manipulation
- DAISY
- FX!32 a profile-directed binary translator
- Superoptimizer: a look at the smallest program
- Automatic generation of peephole superoptimizers
- Machine-adaptable dynamic binary translation