SEGGER compiler

From SEGGER Wiki
Revision as of 12:04, 29 May 2024 by Rainer (talk | contribs) (Replaced content with " 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...")
Jump to: navigation, 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.

See also: Segger Compiler

Details can be found in the compiler manual: Compiler Manual