diplomsko delo
Filip Zevnik (Author), Tadej Tuma (Mentor)

Abstract

Diplomska naloga obravnava optimizacijo kode za velikost na vgrajenih sistemih. V uvodu je predstavljen pomen in motivacija za to temo, cilji in hipoteze naloge. V drugem poglavju je opisan ARM GNU nabor orodij, ki se uporablja za razvoj in optimizacijo programske opreme. V tretjem poglavju so analizirane zahteve in omejitve vgrajenih sistemov, ki vplivajo na izbiro optimizacijskih tehnik in orodij. V četrtem poglavju je predstavljena metodologija optimizacije kode za velikost z uporabo ARM GNU nabora orodij. V petem poglavju so izvedeni eksperimenti, kjer se primerja enak program, napisan v programskem jeziku C in v strojnem jeziku ARM. Program je preprost avtomatični sistem za zalivanje rož. Koda, napisana v C programskemu jeziku, je optimizirana z optimizacijskimi zastavicami ARM GNU prevajalnika. Optimizacije so analizirane in prikazane s kontrolnim tokovnim grafom (CFG). Nato se primerja velikost binarne datoteke, ki se dobi iz optimizirane C kode in iz strojne kode. Hipoteza diplomske naloge je, da bo optimizirana C koda manjša po velikosti kot ARM strojna koda. V zadnjem poglavju so predstavljeni rezultati, diskusija in zaključek naloge.

Keywords

ARM;optimizacija;CFG;vgrajeni sistemi;visokošolski strokovni študij;Aplikativna elektrotehnika;diplomske naloge;

Data

Language: Slovenian
Year of publishing:
Typology: 2.11 - Undergraduate Thesis
Organization: UL FE - Faculty of Electrical Engineering
Publisher: [F. Zevnik]
UDC: 004.4(043.2)
COBISS: 161611011 Link will open in a new window
Views: 74
Downloads: 38
Average score: 0 (0 votes)
Metadata: JSON JSON-RDF JSON-LD TURTLE N-TRIPLES XML RDFA MICRODATA DC-XML DC-RDF RDF

Other data

Secondary language: English
Secondary title: Optimizing code size for embedded systems
Secondary abstract: The thesis addresses the optimization of code size on embedded systems. In the introduction, the importance and motivation for this topic, the goals and hypotheses of the thesis are presented. In the second chapter, the ARM GNU toolchain, which is used for development and optimization of software, is described. In the third chapter, the requirements and constraints of embedded systems, which affect the choice of optimization techniques and tools, are analyzed. In the fourth chapter, the methodology of code size optimization using the ARM GNU toolchain is presented. In the fifth chapter, experiments are performed, where the same program, written in C programming language and in ARM assembly language, is compared. The program is a simple automatic system for watering flowers. The code written in C is optimized with optimization flags of the ARM GNU compiler. The optimizations are analyzed and shown with a control flow graph (CFG). Then, the size of the binary file, obtained from the optimized C code and from the assembly code, is compared. The hypothesis of the thesis is that the optimized C code will be smaller in size than the ARM assembly code. In the last chapter, the results, discussion and conclusion of the thesis are presented.
Secondary keywords: ARM;optimization;CFG;embedded systems;
Type (COBISS): Bachelor thesis/paper
Study programme: 1000315
Embargo end date (OpenAIRE): 1970-01-01
Thesis comment: Univ. v Ljubljani, Fak. za elektrotehniko
Pages: XII, 47 str.
ID: 19818219
Recommended works:
, diplomsko delo visokošolskega strokovnega študija prve stopnje Aplikativne elektrotehnike
, diplomsko delo