Fri 30 Oct 2015 14:37 - 15:00 at Grand Station 2 - 12. Performance Chair(s): Tiark Rompf

This paper presents an algorithm for off-line partial evaluation of machine code. The algorithm follows the classical two-phase approach of binding-time analysis (BTA) followed by specialization. However, machine-code partial evaluation presents a number of new challenges, and it was necessary to devise new techniques for use in each phase. - Our BTA algorithm makes use of an instruction-rewriting method that ``decouples'' multiple updates performed by a single instruction. This method counters the cascading imprecision that would otherwise occur with a more naive approach to BTA. - Our specializer specializes an explicit representation of the semantics of an instruction, and emits residual code via machine-code synthesis. Moreover, to create code that allows the stack and heap to be at different positions at run-time than at specialization-time, the specializer represents specialization-time addresses using symbolic constants, and uses a symbolic state for specialization. Our experiments show that our algorithm can be used to specialize binaries with respect to commonly used inputs to produce faster binaries, as well as to extract an executable component from a bloated binary.

Fri 30 Oct

oopsla2015
13:30 - 15:00: OOPSLA - 12. Performance at Grand Station 2
Chair(s): Tiark RompfPurdue & Oracle Labs
oopsla2015144620820000013:30 - 13:52
Talk
Vlad UrecheEPFL, Switzerland, Aggelos BiboudisUniversity of Athens, Yannis SmaragdakisUniversity of Athens, Martin OderskyEPFL, Switzerland
Pre-print Media Attached
oopsla2015144620955000013:52 - 14:15
Talk
Stefan MarrINRIA, France, St├ęphane DucasseINRIA, France
Link to publication Media Attached
oopsla2015144621090000014:15 - 14:37
Talk
Ganesha UpadhyayaIowa State University, USA, Hridesh RajanIowa State University, USA
DOI Pre-print Media Attached
oopsla2015144621225000014:37 - 15:00
Talk
Venkatesh SrinivasanUniversity of Wisconsin-Madison, USA, Thomas RepsUniversity of Wisconsin - Madison and Grammatech Inc.
DOI Media Attached