Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

A Few Effective GCC - Clang Optimizations for Embedded Systems

Linux Foundation via YouTube

Overview

Explore effective gcc/clang optimizations for embedded systems in this 45-minute conference talk by Khem Raj from Comcast. Gain powerful insights into code size and performance optimization techniques for programming embedded Linux systems. Learn about compiler toolchains and their impact on bootloaders, kernels, applications, and platform software. Discover command-line optimizations and coding practices that help compilers generate optimal code for specific algorithms. Delve into topics such as memory layout, map files, optimization levels, meta-optimization options, stack protector options, compiler support, processor world size, type systems, const function parameters, loops, attributes, baselines, portability, ternary operators, stack size, ncall optimization, and recursion optimization. Enhance your programming techniques by understanding how to leverage compiler capabilities for more effective code generation in embedded systems.

Syllabus

Introduction
Agenda
Tools Know Your Compiler
Memory Layout
Map Files
Optimization Levels
Meta Optimization Options
Stack Protector Options
Compiler Support
Processor World Size
Type Systems
Const
Function Parameters
Loops
Attributes
Baselines
Portability
ternary operator
stack size
ncall optimization
recursion optimization
summary

Taught by

Linux Foundation

Reviews

Start your review of A Few Effective GCC - Clang Optimizations for Embedded Systems

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.