PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Speed Freaks, FYI

http://www.inhandelectronics.com/pdf/In ... er-DSP.pdf

Very interesting article. Goto page 3 and look at the results. It is quite stunning to see the effect WinCE has on performance, not too mention the horrible impact of floating point. More interesting is the fact that ARM compiler produces floating point code that nearly beats the fixed-point execution under WinCE. Unfortunately, two different compiler were used for the test, so it is hard to tell if the WinCE performance is actually nuked by WinCE (as the paper suggests) or if the Win Compiler just produced poor code (or possibly both happen).

Has anyone played around with other compilers on the CE platform? I know Intel has or is comming out with one soon. I'd hate to think that I am spending all my time optimizing code when I could just switch compilers and get a 2x boost. ;)

Cheers,

rcp
Pejo Software - Per · 23 Jul 2003, 06:38 UTC
The test was made with Windows CE 2.11.
Windows CE had some substantional changes betwean 2.11 and 3.0. I would also expect that the compiler has been greatly improved since then.
PejoSoftware wrote:
The test was made with Windows CE 2.11.
Windows CE had some substantional changes betwean 2.11 and 3.0. I would also expect that the compiler has been greatly improved since then.


I'd really like to get that test software and run the test myself. While I am sure (rather, I *hope*) you are correct, I'd really like to know.
Points I'd look at:


  • Compilers - the ARM compiler is (unsurprisingly) very good. The MS compiler is not as good (especially back then, I imagine). Without seeing the code that both compilers spat out, it's hard to tell.

  • I wonder what configuration of WinCE they used. If, for example, the LCD was on in WinCE but off in their other test (I'd suspect so as they poked the code in with the Angel system), then it's not a "fair" test - unless they wanted to compare a "best possible case" with a "general usage".
CE 3.0 represented a very significant change from CE 2.11. Before CE 3.0 Microsoft basically used the NT kernel for Windows CE (from what I remember). With CE 3.0 they actually wrote a streamlined kernel specifically for StrongARM, and it performs much better as expected.

Dan East