Results 1 -
1 of
1
Compiler Generation for Interactive Graphics using Intermediate Code
- In Dagstuhl Workshop on Partial Evaluation (LNCS1110
, 1996
"... . This paper describes a compiler generator (cogen) designed for interactive graphics, and presents preliminary results of its application to pixel-level code. The cogen accepts and produces a reflective intermediate code in continuationpassing, closure-passing style. This allows low overhead run-ti ..."
Abstract
-
Cited by 11 (0 self)
- Add to MetaCart
. This paper describes a compiler generator (cogen) designed for interactive graphics, and presents preliminary results of its application to pixel-level code. The cogen accepts and produces a reflective intermediate code in continuationpassing, closure-passing style. This allows low overhead run-time code generation as well as multi-stage compiler generation. We extend partial evaluation techniques by allowing partially static integers, conservative early equality, and unrestricted lifting. In addition to some standard examples, we examine graphics kernels such as one-dimensional finite filtering and packed pixel access. 1 Introduction Interactive graphics is a growing application domainwhere the demands of latency, bandwidth, and software engineering collide. The state of the art, represented by systems such as QuickDrawGX(R) [44], Photoshop(tm) [42], RenderMan(tm) [52], Explorer(R) [25], and DOOM(tm) [10], is to write in C and assembly language. Programmers use handspecialized rout...

