Difference between revisions of "SEGGER compiler"

From SEGGER Wiki
Jump to: navigation, search
(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...")
(Tag: Replaced)
m
 
Line 1: Line 1:
   
The Segger compiler is based on the LLVM infrastructure and shares exactly the same front-end with Clang (interpretation of C/C++ language),
+
The [https://www.segger.com/products/development-tools/embedded-studio/technology/tools/segger-compiler/?mtm_campaign=kb&mtm_kwd=compiler 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
 
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.
 
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
+
The focus is on Thumb-2 instruction optimization, where the SEGGER Compiler in average achieves
 
* ~9% code size reduction compared to vanilla Clang.
 
* ~9% code size reduction compared to vanilla Clang.
 
* ~14% code size reduction compared to gcc.
 
* ~14% code size reduction compared to gcc.
 
* ~6% speed improvement compared to Clang and gcc.
 
* ~6% speed improvement compared to Clang and gcc.
See also: [https://www.segger.com/products/development-tools/embedded-studio/technology/tools/segger-compiler/ Segger Compiler]
 
   
 
Details can be found in the compiler manual: [https://www.segger.com/doc/UM20007_Compiler.html Compiler Manual]
 
Details can be found in the compiler manual: [https://www.segger.com/doc/UM20007_Compiler.html Compiler Manual]

Latest revision as of 13:08, 31 May 2024

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