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
Times are displayed in time zone: (GMT-04:00) Eastern Time (US & Canada) change

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