Author: Heiko Mikala
Date: 15:12:09 02/26/00
Go up one level in this thread
Hi Dan! On February 26, 2000 at 08:05:13, Dan Andersson wrote: >BC++ is 5-20 % slower than GCC, so its really not for speed. Hmm, I'm not so sure about that. As a first test, I compiled TSCP v1.5 today at work using some different compilers. There's no documentation on the compiler switches included with BCC 5.5, so I'm not sure, if I used the best settings. On the other hand, I don't know if I used the latest/best GCC version. I was using Cygwin B20 with the included GCC compiler - but I forgot to check, wich GCC version it uses. Anyway, here are the settings I used: GCC: -O -finline-functions -fforce-mem -fomit-frame-pointer BCC5.5: -P- -O1 -v- -N- -5 I tried a lot of different settings, for GCC for example -O2, -O3, -funroll-loops and some others, for BCC for example -O2 and some others. The above settings were those, which produced the fastest version of TSCP v1.5. By the way, I used VIDE for the compilation and project settings, this is the free IDE I mentioned in another post. Looks nice, but I haven't done much with it yet. It can be used for GCC too, and it supports GDB. On a P200MMX running Windows NT 4.0 I got the following results using TSCP's "bench" command: BCC 5.5.....: 31390 Nodes/second (32 Bit compile) GCC/CYGWIN..: 27649 Nodes/second (32 Bit compile) I also tried two older compilers, Turbo C 2.01 and Borland C++ 2.0: BC++ 2.0....: 19654 Nodes/second (16 Bit compile) TC 2.0......: 18320 Nodes/second (16 Bit compile) As a reference, here is the result of the executable which is included with the TSCP v1.5 distribution. It's compiled using Microsoft Visual C++ 6.0: MSVC 6.0....: 40767 Nodes/second (32 Bit compile) but keep in mind, that this executable wasn't made by myself, so I don't know how it was build. I'll keep on testing the BCC 5.5 compiler and may keep you informed of my results. It doesn't really look bad at the moment... Greetings, Heiko.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.