[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Whetstone Benchmark
From: |
Dmitry K. |
Subject: |
[avr-gcc-list] Whetstone Benchmark |
Date: |
Mon, 21 Jan 2008 08:12:28 +1000 |
User-agent: |
KMail/1.5 |
Hi.
A table from 'TI Competitive Benchmark': slaa205b.pdf (July 2006).
Whetstone Code Size (in bytes) and Cycle Counts.
IAR C Compiler used (4.12A for AVR), full optimization.
MCU Code size Cycles
------------ --------- ------
MSP430FG4619 6544 107040
MSP430F149 6524 109837
PIC24FJ128GA 4605 108619
8051 8723 291836
H8/300H 4656 205910
MaxQ20 5392 158945
ARM7TDMI/Thumb 10532 60444
HCS12 7370 787635
ATmega8 4694 270991
avr-gcc 4.1.2 & avr-libc CVS HEAD (Jan 2008) gives:
MCU Code size Cycles Optimization
------------ --------- ------ ------------
ATmega8 4020 88563 -Os -morder1
ATmega8 4030 88565 -Os
ATmega8 5310 71743 -O3 -morder1
ATmega8 5332 71751 -O3
The dummy functions are added to prevent GCC optimization.
I am not sure in TI's accuracy. Results for both MSP430-es
are practicaly equal, despite the fact thar FG4619 has
considerable enhanced core. Also run time for ATmega8 is
too big. Can everbody to make any measurements with
IAR compiler?
Source in attachment.
Regards,
Dmitry.
whet.c
Description: Text Data
- [avr-gcc-list] Whetstone Benchmark,
Dmitry K. <=