Dhrystone demo good for benchmarking?
Rayman
Posts: 14,665
I'm playing around with the Dhrystone demo...
Is this a good benchmark for comparing memory modes?
How about for comparing P1 to P2?
BTW: Here's what I get on the regular P1 demo board:
2801 with -O0
5813 with -Os
5336 with -O1
7183 with -O2
It doesn't work when compiled with -mcmm... Should it?
BTW2: I looked on wikipedia and this puts us right around a 386SX/25, if I'm reading it correctly...
Is this a good benchmark for comparing memory modes?
How about for comparing P1 to P2?
BTW: Here's what I get on the regular P1 demo board:
2801 with -O0
5813 with -Os
5336 with -O1
7183 with -O2
It doesn't work when compiled with -mcmm... Should it?
BTW2: I looked on wikipedia and this puts us right around a 386SX/25, if I'm reading it correctly...
Comments
It certainly should -- it does for me. Which version of Dhrystone are you using? How are you compiling it? I just tried with "make MODEL=cmm" and got 544 dhrystones/second with -O0; with "make MODEL=cmm OPT=-O2" I got 2025 dhrystones/second.
Eric
Yes, it should.
As far as memory models go, IIRC you have to turn off optimization to get any meaningful comparisons. But you can't turn them off permanently
C:\propgcc\demos\dhrystone
BTW: I just noticed that the very latest PropGCC doesn't have the "demos"... Is that on purpose?