Program InterpolationAndrew Moss, Dan Page, Program Interpolation. Partial Evaluation and Program Manipulation (PEPM). ISBN 978-1-60558-327-3, pp. 31–40. January 2009. PDF, 211 Kbytes. External information
Program interpolation is a new type of transformation that given an input program written in a specially constructed Domain Specific Language (DSL), produces a family of functionally equivalent instruction sequences as output. Each sequence is an "interpolation" between the control-flows of implementation strategies supplied in the input program. The purpose of the transformation is to expose behavioural differences (e.g. performance) within the sequences, and thus allow automated optimisation with respect to architectural trade-offs that are difficult to quantify and model. We present results from a prototype compiler that demonstrate a 63% speedup in the domain of multi-precision integer arithmetic.