|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D - Dhrystone speed dmd vs gdc
I just ran the samples/dhry.d compiled with DMD 1.007 vs GDC .23 svn on gcc 4.1.1 using MinGW, on a Pentium M with 1.6g. The used flags were -O -release -inline for DMD and -ffast-math -O3 -frelease -finline-functions for GDC. The observed VAX MIPS ratings were 3280 for GDC, but only 2570 for DMD. (Note that the GDC rating could be increased to 3480 by adding -msse -mfpmath=sse,387, but that is somewhat risky). All tests were run with realtime priority. Do you think this difference in a synthetic benchmark translates into an actual speed difference for real-world applications? Did I miss any DMD compiler flags? Greetings --downs Feb 24 2007
downs wroteI just ran the samples/dhry.d Feb 24 2007
downs wrote:I just ran the samples/dhry.d compiled with DMD 1.007 vs GDC .23 svn on gcc 4.1.1 using MinGW, on a Pentium M with 1.6g. The used flags were -O -release -inline for DMD and -ffast-math -O3 -frelease -finline-functions for GDC. The observed VAX MIPS ratings were 3280 for GDC, but only 2570 for DMD. (Note that the GDC rating could be increased to 3480 by adding -msse -mfpmath=sse,387, but that is somewhat risky). All tests were run with realtime priority. Do you think this difference in a synthetic benchmark translates into an actual speed difference for real-world applications? Did I miss any DMD compiler flags? Greetings --downs Feb 24 2007
Dave Wrote:downs wrote:I just ran the samples/dhry.d compiled with DMD 1.007 vs GDC .23 svn on gcc 4.1.1 using MinGW, on a Pentium M with 1.6g. The used flags were -O -release -inline for DMD and -ffast-math -O3 -frelease -finline-functions for GDC. The observed VAX MIPS ratings were 3280 for GDC, but only 2570 for DMD. (Note that the GDC rating could be increased to 3480 by adding -msse -mfpmath=sse,387, but that is somewhat risky). All tests were run with realtime priority. Do you think this difference in a synthetic benchmark translates into an actual speed difference for real-world applications? Did I miss any DMD compiler flags? Greetings --downs Feb 25 2007
downs wrote:Dave Wrote:downs wrote:I just ran the samples/dhry.d compiled with DMD 1.007 vs GDC .23 svn on gcc 4.1.1 using MinGW, on a Pentium M with 1.6g. The used flags were -O -release -inline for DMD and -ffast-math -O3 -frelease -finline-functions for GDC. The observed VAX MIPS ratings were 3280 for GDC, but only 2570 for DMD. (Note that the GDC rating could be increased to 3480 by adding -msse -mfpmath=sse,387, but that is somewhat risky). All tests were run with realtime priority. Do you think this difference in a synthetic benchmark translates into an actual speed difference for real-world applications? Did I miss any DMD compiler flags? Greetings --downs Feb 25 2007
Dave wrote:downs wrote:Dave Wrote:downs wrote:I just ran the samples/dhry.d compiled with DMD 1.007 vs GDC .23 svn on gcc 4.1.1 using MinGW, on a Pentium M with 1.6g. The used flags were -O -release -inline for DMD and -ffast-math -O3 -frelease -finline-functions for GDC. The observed VAX MIPS ratings were 3280 for GDC, but only 2570 for DMD. (Note that the GDC rating could be increased to 3480 by adding -msse -mfpmath=sse,387, but that is somewhat risky). All tests were run with realtime priority. Do you think this difference in a synthetic benchmark translates into an actual speed difference for real-world applications? Did I miss any DMD compiler flags? Greetings --downs Mar 08 2007
|