Shop OBEX P1 Docs P2 Docs Learn Events
Compiling dhrystone with simple IDE - Page 2 — Parallax Forums

Compiling dhrystone with simple IDE

2»

Comments

  • AribaAriba Posts: 2,690
    edited 2012-06-07 18:08
    ersmith wrote: »
    Actually the speeds are not too surprising. Just looking at clock speed, In raw PASM you'd expect an 80 MHz Propeller to be 10-12 times faster than a 7.5MHz 286. LMM adds about a 4x overhead, but GCC uses fast cache to hold small loops in COG memory so the speed on such loops approaches that of raw PASM. Moreover, the Prop is 32 bit, so some operations that require multiple instructions on a 286 will be done in just one instruction on the Propeller. So yes, the dhrystone results are reasonable (and moreover are accurate -- you can do the timing by hand to double check this).

    Yes after studing the results of newer CPUs it's quite possible. They have millions of dhrytsones per second while we have thousends.

    Perhaps we should adapt this benchmark to compare with other microcontrollers:
    http://www.ecrostech.com/Other/Resources/Dhrystone.htm

    Andy
  • pedwardpedward Posts: 1,642
    edited 2012-06-07 19:47
    Ariba wrote: »
    LMM         2941
    XMMC Flash  552
    XMMC SDcard 609
    

    Why not just multiply by 8 for LMM, if we need a high number for the Prop, it's anyway very theoretical. ;-)

    Andy

    I think it would be more interesting to thread the code, so it actually runs parallel, then take the results from that. It would be more indicative of the true performance, instead of just x8.
Sign In or Register to comment.