C-MIX: Specialization of C Programs

  • Authors:
  • Arne J. Glenstrup;Henning Makholm;Jens P. Secher

  • Affiliations:
  • -;-;-

  • Venue:
  • Partial Evaluation - Practice and Theory, DIKU 1998 International Summer School
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

C-Mix is a partial evaluator that is able to specialize strictly conforming ISO C programs. C-Mix generates specialized versions of functions, unrolls loops said pre-computes expressions and control constructs that depend on known data only. These transformations are similar to what optimizing compilers do, but since C-Mix takes some of the program's input into account, it can potentially do better. This article gives a bird's-eye view of several aspects of the C-Mix system: how it is used, a few examples of what it can do, eaid some information on how it works.