Speeding Up Machine-Code Synthesis
Machine-code synthesis is the problem of searching for an instruction sequence that
implements a semantic specification, given as a formula in quantifier-free bit-vector logic (QFBV).
Instruction sets like Intel's IA-32 have around 43,000 unique instruction schemas;
this huge instruction pool, along with the exponential cost inherent in enumerative synthesis,
results in an enormous search space for a machine-code synthesizer: even for
relatively small specifications, the synthesizer might take several hours or days to
find an implementation. In this paper, we present several improvements to the algorithms
used in a state-of-the-art machine-code synthesizer McSynth.
In addition to a novel pruning
heuristic, our improvements incorporate a
number of ideas known from the literature, which we adapt in novel ways for the purpose
of speeding up machine-code synthesis.
Our experiments for Intel's IA-32 instruction set show that our improvements
enable synthesis of code for 12 out of 14 formulas on which McSynth times out,
speeding up the synthesis time by at least 1981X, and for
the remaining formulas, speeds up synthesis by 3X.
Wed 2 NovDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
13:30 - 15:10
Program SynthesisOOPSLA at Matterhorn 2
Chair(s): Martin Odersky EPFL, Switzerland
|Deriving Divide-and-Conquer Dynamic Programming Algorithms using Solver-Aided Transformations|
Shachar Itzhaky MIT CSAIL, Rohit Singh MIT, Rezaul Chowdhury Stony Brook University, Kuat Yessenov MIT, Yongquan Lu MIT, Charles E. Leiserson MIT, Armando Solar-Lezama MIT CSAILDOI Pre-print Media Attached
|Speeding Up Machine-Code Synthesis|
Venkatesh Srinivasan University of Wisconsin - Madison, Tushar Sharma University of Wisconsin - Madison, USA, Thomas Reps University of Wisconsin - Madison and Grammatech Inc.DOI Pre-print Media Attached
|Automated Reasoning for Web Page Layout|
Pavel Panchekha University of Washington, Emina Torlak University of WashingtonDOI Media Attached
|FIDEX: Filtering Spreadsheet Data using Examples|
Xinyu Wang UT Austin, Sumit Gulwani Microsoft Research, Rishabh Singh Microsoft ResearchDOI Media Attached