Generating Optimal Code Using Answer Set Programming

  • Authors:
  • Tom Crick;Martin Brain;Marina Vos;John Fitch

  • Affiliations:
  • Department of Computer Science, University of Bath, Bath, UK BA2 7AY;Department of Computer Science, University of Bath, Bath, UK BA2 7AY;Department of Computer Science, University of Bath, Bath, UK BA2 7AY;Department of Computer Science, University of Bath, Bath, UK BA2 7AY

  • Venue:
  • LPNMR '09 Proceedings of the 10th International Conference on Logic Programming and Nonmonotonic Reasoning
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents the Total Optimisation using Answer Set Technology (TOAST) system, which can be used to generate optimal code sequences for machine architectures via a technique known as superoptimisation. Answer set programming (ASP) is utilised as the modelling and computational framework for searching over the large, complex search spaces and for proving the functional equivalence of two code sequences. Experimental results are given showing the progress made in solver performance over the previous few years, along with an outline of future developments to the system and applications within compiler toolchains.