February 23, 2020

230 words 2 mins read

A Few Effective gcc/clang Optimizations for Embedded Systems

A Few Effective gcc/clang Optimizations for Embedded Systems

Compilers toolchains are at the core of the building the Embedded Linux Systems, it affects the full system from bootloaders, kernels to applications and platform software, compilers are software too, …

Talk Title A Few Effective gcc/clang Optimizations for Embedded Systems
Speakers Khem Raj (Linux Architect, Comcast)
Conference Open Source Summit + ELC North America
Conf Tag
Location San Diego, CA, USA
Date Aug 19-23, 2019
URL Talk Page
Slides Talk Slides
Video

Compilers toolchains are at the core of the building the Embedded Linux Systems, it affects the full system from bootloaders, kernels to applications and platform software, compilers are software too, therefore knowing about how this can help to achieve code size, performance optimization is quite powerful insight to have for programming the systems. There are optimizations which are effective in embedded systems, provided by compilers via command line, but there is another class of coding practices, that can help the compiler to generate best code for a given algorithms, modern compilers are quite good at optimizing general code, however this can be made more effective by knowing these practices and help the compiler to compile to generate better code. Knowing the compiler can add that extra edge to programming techniques which can result is effective code. Clang and gcc are primary compilers for linux systems, so knowing the options to generate smaller, better code is the goal.

comments powered by Disqus