Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Compiler optimization VS WCET: Battle of the ages
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
2022 (English)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesisAlternative title
Kompilatoroptimering VS WCET (Swedish)
Abstract [en]

Optimization by a compiler can be executed with many different methods. The defence company Saab provided us with a mission, to see if we could optimize their code with the help of the GCC compiler and its optimization flags. For this thesis we have conducted a study of the optimization flags to decrease the worst case execution time. The first step to assemble an effective base of flags was reading the documentation for the flags. We then tested the different flags and analysed them. In the end we ended up with four chosen sets that we saw fitted to be discussed and analyzed further. The results did not live up to our expectations, as we thought the flags would optimize the execution time. The flags int he majority of cases gave an, although small, increase of the execution time. We only had one set where the flags gave us a decrease, which we called the Expensive Optimization.With these results we can conclude that Saab do not need to change their existing set of optimization flags to optimize their compiler further.

Place, publisher, year, edition, pages
2022. , p. 74
Keywords [en]
Compiler, Optimization, Worst Case Execution Time
Keywords [sv]
Kompilator, Optimering, WCET
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:liu:diva-189201ISRN: LIU-IDA/LITH-EX-G--22/028—SEOAI: oai:DiVA.org:liu-189201DiVA, id: diva2:1703393
External cooperation
Saab AB
Presentation
2022-06-14, Donald Knut, Olaus Magnus väg 37, Linköping, 09:10 (English)
Supervisors
Examiners
Available from: 2022-10-14 Created: 2022-10-13 Last updated: 2022-10-14Bibliographically approved

Open Access in DiVA

Compiler optimization VS WCET(659 kB)222 downloads
File information
File name FULLTEXT01.pdfFile size 659 kBChecksum SHA-512
209a7ec100d11ee202f438c3d40302fd5464b28950514f76fa23526056a3a88d2dbda3e584e1ecd83085d1309de91d034f0fa91f7c4d61e3ea6dcdd55d581475
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Harrius, TovaNordin, Max
By organisation
Department of Computer and Information Science
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 222 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 264 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf