Efficiently Synthesizing Lowest Cost Rewrite Rules for Instruction Selection
View PDF
HTML (experimental)
Abstract:Compiling programs to an instruction set architecture (ISA) requires a set of rewrite rules that map patterns consisting of compiler instructions to patterns consisting of ISA instructions. We synthesize such rules by constructing SMT queries, where solutions represent two functionally equivalent programs. These two programs are interpreted as an instruction selection rewrite rule. Furthermore, we address existing work's limitations by developing a set of op...
Read more at arxiv.org