Changes

Dhrystone MIPS 2.1

4,152 bytes added, 16:31, 24 January 2014
Test Software
== Test Software ==
You can donwload the Dhrystone 2.1 MIPS test from [http://downloads.igepisee.esbiz/pub/files/dhrystone-2.1.tar.gz here].
The software it's compiled for OMAP / DM processors, inside be available 4 2 executables:
*gcc_dry2 and gcc_dry2reg (set register)<br>
<u>Tune Parameters:</u>
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.5.2/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.5.2 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror --enable-checking=release --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include --build=i686-linux-gnu --host=i686-linux-gnu --target=arm-linux-gnueabi --with-headers=/usr/arm-linux-gnueabi/include --with-libs=/usr/arm-linux-gnueabi/lib
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)</pre>
*cc_dry2 and cc_dry2reg (set register)<br>
<u>Tune Parameters:</u><br>
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.5.2/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.5.2 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror --enable-checking=release --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include --build=i686-linux-gnu --host=i686-linux-gnu --target=arm-linux-gnueabi --with-headers=/usr/arm-linux-gnueabi/include --with-libs=/usr/arm-linux-gnueabi/lib
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)</pre>
Calculation References:<br>
== Test Case 1*[http: IGEPv2 Revision C- DM3730 @ 1 Ghz =//infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/4160.html ARM Dhrystone reference].
<u>'''Board'''</u>== Test Case 1: IGEPv2 Revision C - RC5 - DM3730 @ 1Ghz - 512 MBytes LPDDR RAM + 512 MBytes OneNand Flash<br>1 Ghz ==
<u>'''Board'''</u>: IGEPv2 Revision C - RC5 - DM3730 @ 1Ghz - 512 MBytes LPDDR RAM + 512 MBytes OneNand Flash<br>  <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 <u>'''Boot Software:'''</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_dry2Dhrystone Benchmark, Version 2.1 (Language: C)Program compiled without 'register' attributePlease give the number of runs through the benchmark: 10000000Execution starts, 10000000 runs through DhrystoneExecution endsFinal values of the variables used in the benchmark:Int_Glob: 5 should be: 5Bool_Glob: 1 should be: 1Ch_1_Glob: A should be: ACh_2_Glob: B should be: BArr_1_Glob[8]: 7 should be: 7Arr_2_Glob[8][7]: 10000010 should be: Number_Of_Runs + 10Ptr_Glob-&gt; Ptr_Comp: 13295624 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 STRINGNext_Ptr_Glob-&gt; Ptr_Comp: 13295624 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 STRINGInt_1_Loc: 5 should be: 5Int_2_Loc: 13 should be: 13Int_3_Loc: 7 should be: 7Enum_Loc: 1 should be: 1Str_1_Loc: DHRYSTONE PROGRAM, 1'ST STRING should be: DHRYSTONE PROGRAM, 1'ST STRINGStr_2_Loc: DHRYSTONE PROGRAM, 2'ND STRING should be: DHRYSTONE PROGRAM, 2'ND STRING Microseconds for one run through Dhrystone: 0.4Dhrystones 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 DhrystoneExecution ends Final values of the variables used in the benchmark: Int_Glob: 5 should be: 5Bool_Glob: 1 should be: 1Ch_1_Glob: A should be: ACh_2_Glob: B should be: BArr_1_Glob[8]: 7 should be: 7Arr_2_Glob[8][7]: 10000010 should be: Number_Of_Runs + 10Ptr_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 STRINGNext_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 STRINGInt_1_Loc: 5 should be: 5Int_2_Loc: 13 should be: 13Int_3_Loc: 7 should be: 7Enum_Loc: 1 should be: 1Str_1_Loc: DHRYSTONE PROGRAM, 1'ST STRING should be: DHRYSTONE PROGRAM, 1'ST STRINGStr_2_Loc: DHRYSTONE PROGRAM, 2'ND STRING should be: DHRYSTONE PROGRAM, 2'ND STRING Microseconds for one run through Dhrystone: 0.3Dhrystones per Second: 3987539.0</pre> '''''DMIPS: 3987539.0 /&nbsp;1757 = 2269.51'''''<br>      [[Category:How_to_forge]][[Category:Software]][[Category:Software applications]]