CPL - Chalmers Publication Library
| Utbildning | Forskning | Styrkeområden | Om Chalmers | In English In English Ej inloggad.

Three Specialized Computer Architectures for Functional Program Execution

Jonas Vasell (Institutionen för datorteknik)
Göteborg : Chalmers University of Technology, 1992. ISBN: 91-7032-730-0.

Functional programming languages offer a new programming paradigm with many advantages over the more conventional imperative or procedural programming languages. However, these new languages are not as well adapted to the existing computers as the conventional languages, which results in low performance. They also offer many opportunities for parallel execution of subcomputations which are not always easy to exploit in conventional computers.

This has triggered efforts to be made in two directions to bridge the gap between computers and functional languages. The first direction is to develop new program compilation techniques and the second is to develop new computer architectures, i.e. new program execution models and organizations for computers. Both these directions are necessary and complement each other.

This thesis presents investigations of three different attempts to develop computer architectures that are intended to support the execution of functional programs. This work has involved development of architectures, programming methods and performance analysis. The investigations have been performed within three separate projects.

The first project presented is an attempt to design a microprocessor implementation of the G-machine, a functional language execution model adapted for implementation in conventional architectures. Performance estimates for the processor architecture show a slightly better performance than what can be achieved with a G-machine implementation on a state-of-the-art work station.

The second project is an attempt to design an accelerator for frequently used smaller parts of functional programs. The results include an architecture that consists of several simple processors and a compilation technique that allows some functional programs to be automatically compiled for the architecture. The architecture was found to give about ten to fifty times speed-up compared to a work station. However, the restrictions imposed on the types of computations that can be executed are too severe to make the architecture truly useful.

The third project extends the ideas in the previous project and allows a wide range of computations written in a functional language to be executed on a so-called processor array architecture. This type of architecture has many interesting properties such as being well adapted for VLSI implementation, having a high potential for fault tolerance, and being capable of exploiting fine-grained parallelism. However, they have traditionally been used mostly for specialized applications. The basic idea in this project is to compile functional programs into so-called data flow graphs which are mapped onto a processor array so that each processor is assigned the execution of one operation in the program. A performance analysis of the architecture is presented that shows that the utilization of hardware resources in the architecture is low for applications not usually executed on processor arrays. The reasons for this are discussed and methods to improve the utilization are presented.

Nyckelord: programming languages, performance, program compilation techniques, computer architectures, G-machine, array architecture, VLSI implementation

Denna post skapades 2006-09-19. Senast ändrad 2013-09-25.
CPL Pubid: 1523


Institutioner (Chalmers)

Institutionen för datorteknik (1985-2001)


Information Technology

Chalmers infrastruktur

Ingår i serie

Doktorsavhandlingar vid Chalmers tekniska högskola. Ny serie 884

Technical report - School of Electrical and Computer Engineering, Chalmers University of Technology, Göteborg, Sweden 232