Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • 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
Funktionsexpansion i GCC: Utvärdering av de IPO-baserade funktionsexpansionsfaserna i GCC samt hur de kan påverkas av kompilatorflaggor
KTH, School of Computer Science and Communication (CSC).
KTH, School of Computer Science and Communication (CSC).
2015 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Function expansion in GCC (English)
Abstract [sv]

Funktionsexpansion är ett viktigt koncept inom mjukvaruoptimering, det ämnar att minska programmets körtid till kostnad av programmets storlek. Denna rapport presenterar möjligheter för hur användare kan justera expansionen i GCC samt redovisar resultaten i körtid och programstorlek. Två GCC-flaggor för funktionsexpansion har studerats och testats vid kompilering av fyra olika Unix-verktyg. Resultat visar att det är svårt att uppnå förbättringar vid justering av flaggorna och att antalet iterationer av de tidiga expansionsfaserna i GCC bör öka i takt med att optimeringsnivån ökar.

Abstract [en]

Function expansion is an important concept in software optimisation, its goal is to decrease execution time at the cost of an increase of the program binary size. This report presents options for fine tuning of function expansion in GCC aswell as the performance profit that can be achieved in execution time and binary program size by adjusting these parameters. Two GCC-flags for function expansion has been studied and tested with four different Unix tools. Results show that it is difficult to achieve improvements by adjusting the parameters and that the amount of iterations in the early inliner in GCC should increase as you increase the level of optimisation.

Place, publisher, year, edition, pages
2015.
National Category
Computer Science
Identifiers
URN: urn:nbn:se:kth:diva-166547OAI: oai:DiVA.org:kth-166547DiVA: diva2:811229
Supervisors
Examiners
Available from: 2015-05-28 Created: 2015-05-11 Last updated: 2015-05-28Bibliographically approved

Open Access in DiVA

fulltext(1155 kB)70 downloads
File information
File name FULLTEXT01.pdfFile size 1155 kBChecksum SHA-512
72d949d4b460b15c219b1499ccad0869f2bfc0b8408e7a9b0694136a830560093ae90b02903686d030a2a72b40a2b9c2b1aa6bc6a91f3439bff8f5678c68f71d
Type fulltextMimetype application/pdf

By organisation
School of Computer Science and Communication (CSC)
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 70 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: 233 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • 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