Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Concurrent Smalltalk compiler for the message-driven processor. Technical report

Technical Report ·
OSTI ID:6355670
This thesis describes Optimist, an optimizing compiler for the Concurrent Smalltalk language developed by the Concurrent VLSI Architecture Group. Optimist compiles Concurrent Smalltalk to the assembly language of the Message-Driven Processor (MDP). The compiler includes numerous optimization techniques such as dead code elimination, data-flow analysis, constant folding, move elimination, concurrency analysis, duplicate-code merging, tail forwarding, use of register variables, as well as various MDP-specific optimizations in the code generator. The MDP presents some unique challenges and opportunities for compilation. Due to the MDP's small memory size, it is critical that the size of the generated code be as small as possible. The MDP is an inherently concurrent processor with efficient mechanisms for sending and receiving messages; the compiler takes advantage of these mechanisms. The MDP's tagged architecture allows very efficient support of object-oriented languages such as Concurrent Smalltalk. The initial goals for the MDP were to have the MDP execute about twenty instructions per method and contain 4096 words of memory. This compiler shows that these goals are too optimistic-most methods are longer, both in terms of code size and running time. Thus, the memory size of the MDP should be increased.
Research Organization:
Massachusetts Inst. of Tech., Cambridge (USA). Artificial Intelligence Lab.
OSTI ID:
6355670
Report Number(s):
AD-A-202182/2/XAB; AI-TR-1080
Country of Publication:
United States
Language:
English