Repository logo
 

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

dc.contributor.authorStone, Jonathan Richard
dc.date.accessioned2011-03-28T20:37:13Z
dc.date.accessioned2022-10-25T07:31:30Z
dc.date.available2011-03-28T20:37:13Z
dc.date.available2022-10-25T07:31:30Z
dc.date.copyright1990
dc.date.issued1990
dc.description.abstractThis 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.formatpdfen_NZ
dc.identifier.urihttps://ir.wgtn.ac.nz/handle/123456789/23564
dc.languageen_NZ
dc.language.isoen_NZ
dc.publisherTe Herenga Waka—Victoria University of Wellingtonen_NZ
dc.rights.holderAll rights, except those explicitly waived, are held by the Authoren_NZ
dc.rights.licenseAuthor Retains Copyrighten_NZ
dc.rights.urihttps://www.wgtn.ac.nz/library/about-us/policies-and-strategies/copyright-for-the-researcharchive
dc.subjectComputer scienceen_NZ
dc.titlePorting GNU C and C++ to the Pyramid 90X architectureen_NZ
dc.typeTexten_NZ
thesis.degree.disciplineComputer Scienceen_NZ
thesis.degree.grantorTe Herenga Waka—Victoria University of Wellingtonen_NZ
thesis.degree.levelMastersen_NZ
thesis.degree.nameMaster of Scienceen_NZ
vuwschema.type.vuwAwarded Research Masters Thesisen_NZ

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
thesis.pdf
Size:
58.2 MB
Format:
Adobe Portable Document Format

Collections