izpis_h1_title_alt

Prilagoditev LLVM-ja za sistem SIC/XE
ID ERZAR, JAKOB (Author), ID Slivnik, Boštjan (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (727,79 KB)
MD5: F79175C9D51F5DBBEF377C3040868C15

Abstract
Ogrodje LLVM omogoča lažji razvoj prevajalnikov, saj ga v prevajalniku lahko uporabimo za generiranje strojne kode več različnih arhitektur. V tem diplomskem delu vanj dodamo podporo za generiranje strojne kode arhitekture SIC/XE, ki je namenjena poučevanju sistemske programske opreme. S tem omogočimo prevajanje v strojno kodo sistema SIC/XE iz vseh programskih jezikov, ki se lahko prevedejo v LLVM-jevo vmesno kodo. Podporo za arhitekturo SIC/XE integriramo tudi v prevajalnik Clang, ki je namenjen predvsem prevajanju jezikov C in C++. Delovanje pokažemo s prevajanjem treh programov v C-ju in primerjamo število ukazov glede na stopnjo optimizacije.

Language:Slovenian
Keywords:LLVM, prevajalnik, SIC, SIC/XE
Work type:Bachelor thesis/paper
Organization:FRI - Faculty of Computer and Information Science
Year:2019
PID:20.500.12556/RUL-106246 This link opens in a new window
Publication date in RUL:18.02.2019
Views:1134
Downloads:230
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:LLVM backend for SIC/XE
Abstract:
The LLVM compiler framework can be used as a compiler backend that supports generating machine code for multiple computer architectures. In this thesis we implemented an LLVM backend for the SIC/XE architecture, which is used for teaching system software. This enables generation of SIC/XE machine code from every language that can be compiled to LLVM’s intermediate representation. We also added SIC/XE support to the Clang compiler, which is used for compiling C-family programming languages. We demonstrated our work with compilation of three different C programs and compared the amount of instructions with different optimization levels.

Keywords:LLVM, compiler, SIC, SIC/XE

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back