• No results found

Master Thesis – Compiler LLVM for x86

N/A
N/A
Protected

Academic year: 2021

Share "Master Thesis – Compiler LLVM for x86"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

Master Thesis – Compiler LLVM for x86

Description

The goal of this project is to make it possible to run a digital signal processing (DSP) dialect of C on the x86

architecture. The project will modify an existing compiler backend for x86, to make it as compatible to the DSP C dialect as possible.

A DSP processor is designed to be used for specialized applications and typically has some features that general purpose processors (e.g. x86) lack, such as fixed-point arithmetic, and different memory spaces. The DSP used by Ericsson also has other differences, such as 16-bit bytes (addressable unit of data storage in C), 16-bit pointers, and big- endian data layout.

A drawback of these differences is that, for most tests, it is not possible to run directly on the machines running the development environment, typically Linux-x86. Tests must be run either in a DSP simulator, on the DSP hardware, or using some tricks to make the C code x86-compaptible.

The project will modify the LLVM x86 backend from llvm.org, and use it together with parts (mainly the frontend) from our internal LLVM based compiler, supporting this DSP C dialect. For example, modifications are required to support 16-bit bytes, 16-bit pointers, and big-endian data layout. Some parts, such as fixed-point arithmetic, may be handled by connecting existing emulation libraries.

To support execution on x86 through the LLVM IR interpreter may also be interesting. The project will evaluate the result by comparing with previous solutions for execution of this DSP C dialect on x86.

Qualifications

This is a technically advanced project and you will need the following in order to succeed:

 Knowledge of how a compiler backend work

 Knowledge of x86 assembly.

 Knowledge of C and C++ programming in Linux.

Contact persons:

Patrik Hägglund patrik.h.hagglund@ericsson.com, software developer, Ericsson AB, Linköping +46730436142 or Anders Nilsson: anders.n.nilsson@ericsson.com , section manager, Ericsson AB, Linköping +46730435786

References

Related documents

An overview of the common symbolic manipulation and optimisation algorithms of a typical Modelica compiler is presented as well as a general modular design concept for a

Anledningen till att gränssnittet valdes bort var dels för att applikationen i den tredje versionen kommer att innehålla egna instanser av hela applikationen och dels för att

Eleverna verkar inte tycka att det är ett gemensamt ansvar i klassen att säga till elever som stör med sitt prat, utan tycker istället att läraren är den som ska hålla

Association between self- reported vegetarian diet and the irritable bowel syndrome in the French NutriNet cohort France Cross-sectional study using a questionnaire on

Thus, despite previous reviews proposing that children with severe externalizing problems benefit less (Kazdin, 1997; Nixon, 2002), or about the same amount (Furlong et al., 2012)

ɨF SFTVMU PG NZ QSPKFDU JT BO FYUFOTJPO PG UIF #JHMPP DPNQJMFS TZTUFN UIBU DPNQJMFT 4DIFNF NPEVMFT JOUP OBUJWF DPEF UISPVHI --7. *U IBOEMFT B MBSHF TVCTFU PG UIF #JHMPP MBOHVBHF

Den naturliga beständigheten och fukttrögheten hos furukäma och gran kan vara ett bra komplement till andra åtgärder (konstruktion, fuktawisade behandling) när man söker ett

Då den svenska läroplanen förmedlar ett innehåll som syftar till att bidra till en demokratisk samhällsutveckling rör sig således denna del av läroplanen inom ramen för