| | |
Summary: Binary Translation Using Peephole Superoptimizers
Sorav Bansal
Computer Systems Lab
Stanford University
sbansal@cs.stanford.edu
Alex Aiken
Computer Systems Lab
Stanford University
aiken@cs.stanford.edu
Abstract
We present a new scheme for performing binary trans-
lation 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 tech-
niques. We have implemented a PowerPC-x86 binary
translator and report results on small and large compute-
intensive benchmarks. When compared to the native
compiler, our translated code achieves median perfor-
|