1 / 11

C Code Benchmarks - FAE Training September 2000

C Code Benchmarks - FAE Training September 2000. C Code Benchmarks. Nine applications Based on customer code Various application areas Byte usage in individual applications Summarized results reported as Normalized Accumulated Results Averaged Normalized Results. Comments.

tierra
Download Presentation

C Code Benchmarks - FAE Training September 2000

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. C Code Benchmarks- FAE Training September 2000 CONFIDENTIAL

  2. C Code Benchmarks • Nine applications • Based on customer code • Various application areas • Byte usage in individual applications • Summarized results reported as • Normalized Accumulated Results • Averaged Normalized Results CONFIDENTIAL

  3. Comments • Support our claims of code efficiency • All code could be compiled for all compilers • Indexes relative to AVR • All code written for different architecture, no modifications done • All compilers from IAR (except ARM/Thumb) • EDN Embedded Microprocessor Benchmark Consortiumm CONFIDENTIAL

  4. Reed-Solomon • Reed-Solomon Encoder/Decoder CONFIDENTIAL

  5. Car Radio Control • Skeleton application • Control Flow and Bitfields CONFIDENTIAL

  6. C Bitfields • Benchmark code from customer • 8 and 16 bit bitfield variables CONFIDENTIAL

  7. Accumulated over all Benchmarks • Indexes based on accumulated sizes • Large applications counts more than small CONFIDENTIAL

  8. Normalized over all Benchmarks • Averaged indexes from all applications • All applications counts evenly CONFIDENTIAL

  9. Summary • Nine C Code Benchmarks from various application areas • No single microcontroller best for all applications • AVR in the top range for all the applications CONFIDENTIAL

  10. Compilers Used • AVR: IAR ICCA90 version 1.40 • 80C51: IAR ICC8051 version 5.20 • Thumb: ARM tcc version 1.02b • ARM: ARM armcc version 4.66b • 80196: IAR icc196 version 5.20a • Z80: IAR iccz80 version 4.03a • H8/300(H): IAR icch83 version 3.22 • H8/500: IAR icch8500 version 2.92g • 68HC11: IAR icc6811 version 4.20B • PIC: IAR iccpic version 1.11A CONFIDENTIAL

  11. Thermal Printer -34% CODE and we used C…... • PIC16C74 replaced with AT904434 • PIC assembly code • Code size: 3364 Words = 5887 bytes • AVR code written in “C” • Code size: 3896 bytes • AVR winning features • Faster printing due to improved speed • Reduced cost by integrating EEPROM • Enhanced code control and maintenance due to C code. CONFIDENTIAL

More Related