SEGGER compiler
Jump to navigation
Jump to search
The SEGGER Compiler is based on the LLVM infrastructure and shares exactly the same front-end with Clang (interpretation of C/C++ language), but contains an improved back-end for code generation and optimization for 32-bit ARM CPU's. It uses modified and additional methods for code optimization and is especially useful for small embedded systems, where code size is often an issue. The focus is on Thumb-2 instruction optimization, where the SEGGER Compiler in average achieves
- ~9% code size reduction compared to vanilla Clang.
- ~14% code size reduction compared to gcc.
- ~6% speed improvement compared to Clang and gcc.
Details can be found in the compiler manual: Compiler Manual
A comparison of the SEGGER Toolchain and gcc using CMake can be found under Comparison SEGGER Toolchain and gcc with CMake