Safety-certified tools Tools for Automotive Applications C-STAT Static analysis C-RUN Runtime analysis Debugging and trace probes IAR Visual State
The sophisticated optimization technology of IAR Embedded Workbench for RX generates very compact and fast code.
For this benchmark we took real customer applications and tested for size. The benchmark compares the total size of linked code and constants between code from IAR Embedded Workbench, CC RX and GCC.
In total for the tested applications, IAR Embedded Workbench generated 27 % smaller code than CC RX and 27 % smaller code than GCC.
IAR Embedded Workbench for RX v4.10
iccrx -e -Ohz --double=32 --code_model=f --data_model=n --align_func=1 --endian l --core RX610 --dlib_config=dlib_defaults.h --no_warnings
CC RX v2.08.00
ccrx -isa=rxv2 -fpu -lang=c -nomessage -show=source,conditionals,definitions,expansions -optimize=max -nologo
GCC for Renesas RX v184.108.40.206801
gcc-rx-elf -MMD -MP -nostdinc -Os -fdata-sections -ffunction-sections -g -flto -mlittle-endian-data -mcpu=rx600 -c -x c
A number of customer applications covering different aspects of embedded software and representing were used in this benchmark. When compiled with IAR Embedded Workbench they ranged from 412 bytes to 147906 bytes. They were as follows: