|
| | | |
Code Generation for Just-in-Time Compiled Mobile Collector Agents
Allen, J.G. and Jin, J.S.
This paper describes MGEN/x86, a toolkit that simplifies the process of creating dynamic code generators and just-in-time (JIT) compilers for the x86 series of processor. MGEN produces pattern-matching code generators based on a userdefined sequence of rules and semantic action associated with each rule. MGEN includes a number of useful and interesting features such as a table driven macro compiler and a rule based code generator-generator. The rule-based syntax permits patternmatching instruction selection with a small degree of intermediate representation (IR) operator look ahead against a compile time stack of states. Wildcards may be used to reduce the number of required rules for instruction selection and may assist in reducing the complexity associated with introducing new CPU states by providing a default action at each node. Final year computing students have successfully used the MGEN toolkit to produce syntactically complete just-in-time compilers. The purpose of this paper is to introduce the toolkit as a simple method of performing compilation of mobile collector agents. |
Cite as: Allen, J.G. and Jin, J.S. (2003). Code Generation for Just-in-Time Compiled Mobile Collector Agents. In Proc. Pan-Sydney Area Workshop on Visual Information Processing (VIP2002), Sydney, Australia. CRPIT, 22. Jin, J. S., Eades, P., Feng, D. D. and Yan, H., Eds. ACS. 1. |
(from crpit.com)
(local if available)
|
|