Changes

Dhrystone MIPS 2.1

2,196 bytes added, 16:26, 14 June 2011
no edit summary
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)</pre>
Calculation References:<br>  *[http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/4160.html ARM Dhrystone reference].
== Test Case 1: IGEPv2 Revision C- DM3730 @ 1 Ghz ==
<u>'''Operating System'''</u>: Linux version 2.6.35.13 (mcaro@manel-p) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #3 Fri Jun 10 19:58:16 CEST 2011
*Test case<u>'''Boot Software: Execution 10000000 loops (gcc_dry2)'''</u> IGEP X-Loader 2.0.1-2<br>
'''<u>a)&nbsp;Test case: Execution 10000000 loops (gcc_dry2)</u>'''<br>  <u>Result</u><br>
<pre>root@localhost:/tmp# ./gcc_dry2
Dhrystone Benchmark, Version 2.1 (Language: C)
Microseconds for one run through Dhrystone: 0.4
Dhrystones per Second: 2788671.0
</pre>
'''''DMIPS: 2788671.0 /&nbsp;1757 = 1587.17'''''
 
'''<u>b)&nbsp;Test case: Execution 10000000 loops (cc_dry2)</u>'''<br>
 
<u>Result</u><br>
<pre>root@localhost:/tmp# ./cc_dry2reg
 
Dhrystone Benchmark, Version 2.1 (Language: C)
 
Program compiled with 'register' attribute
 
Please give the number of runs through the benchmark: 10000000
 
Execution starts, 10000000 runs through Dhrystone
Execution ends
 
Final values of the variables used in the benchmark:
 
Int_Glob: 5
should be: 5
Bool_Glob: 1
should be: 1
Ch_1_Glob: A
should be: A
Ch_2_Glob: B
should be: B
Arr_1_Glob[8]: 7
should be: 7
Arr_2_Glob[8][7]: 10000010
should be: Number_Of_Runs + 10
Ptr_Glob-&gt;
Ptr_Comp: 4169736
should be: (implementation-dependent)
Discr: 0
should be: 0
Enum_Comp: 2
should be: 2
Int_Comp: 17
should be: 17
Str_Comp: DHRYSTONE PROGRAM, SOME STRING
should be: DHRYSTONE PROGRAM, SOME STRING
Next_Ptr_Glob-&gt;
Ptr_Comp: 4169736
should be: (implementation-dependent), same as above
Discr: 0
should be: 0
Enum_Comp: 1
should be: 1
Int_Comp: 18
should be: 18
Str_Comp: DHRYSTONE PROGRAM, SOME STRING
should be: DHRYSTONE PROGRAM, SOME STRING
Int_1_Loc: 5
should be: 5
Int_2_Loc: 13
should be: 13
Int_3_Loc: 7
should be: 7
Enum_Loc: 1
should be: 1
Str_1_Loc: DHRYSTONE PROGRAM, 1'ST STRING
should be: DHRYSTONE PROGRAM, 1'ST STRING
Str_2_Loc: DHRYSTONE PROGRAM, 2'ND STRING
should be: DHRYSTONE PROGRAM, 2'ND STRING
 
Microseconds for one run through Dhrystone: 0.3
Dhrystones per Second: 3987539.0
</pre>
'''''DMIPS: 27886713987539.0 /&nbsp;1757 = 15872269.1751''''' <br>  <br>  <br>
<br>
<br>
<br>
 <br>  <br>  <br>
<br>