DSpace Repository

Porting GNU C and C++ to the Pyramid 90X architecture

Show simple item record

dc.contributor.author Stone, Jonathan Richard
dc.date.accessioned 2011-03-28T20:37:13Z
dc.date.accessioned 2022-10-25T07:31:30Z
dc.date.available 2011-03-28T20:37:13Z
dc.date.available 2022-10-25T07:31:30Z
dc.date.copyright 1990
dc.date.issued 1990
dc.identifier.uri https://ir.wgtn.ac.nz/handle/123456789/23564
dc.description.abstract This thesis describes the porting of a high quality C (and C++) compiler, initially aimed at CISC machines, to an early RISC architecture. The compiler achieves portability through the combination of exhaustive peephole optimisation of a Lisp-like register-transfer language and descriptions of target machine instructions in that language. I achieved a successful port, based on conservative solutions in several instances of bad fits between the compiler and the target machine, particularly in the area of compares and conditional jumps. This port was distributed worldwide. Further experience with this conservative port led to my developing an improved port that produces better code than the native compiler. I encountered particularly severe difficulties with variadic functions, which were implemented in a machine-independent way that cannot work on some RISC architectures. I present a corrected implementation that functions correctly on all machines. A more fundamental problem is that there are many possible implementations of variadic functions, to which a portable compiler must be able to conform. I present an original mechanism to solve this problem, which will become part of the machine-independent infrastructure of the compiler. This method has general applicability, to both other compilers and other architectures. en_NZ
dc.format pdf en_NZ
dc.language en_NZ
dc.language.iso en_NZ
dc.publisher Te Herenga Waka—Victoria University of Wellington en_NZ
dc.title Porting GNU C and C++ to the Pyramid 90X architecture en_NZ
dc.type Text en_NZ
vuwschema.type.vuw Awarded Research Masters Thesis en_NZ
thesis.degree.discipline Computer Science en_NZ
thesis.degree.grantor Te Herenga Waka—Victoria University of Wellington en_NZ
thesis.degree.level Masters en_NZ
thesis.degree.name Master of Science en_NZ


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Browse

My Account