Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Best compiler options for MSVC?

Author: Peter Skinner

Date: 07:30:21 02/16/04

Go up one level in this thread


On February 16, 2004 at 05:11:31, Bryan Hofmann wrote:

>On February 16, 2004 at 04:32:25, Peter Skinner wrote:
>
>>On February 16, 2004 at 04:26:43, Peter Skinner wrote:
>>
>>CFLAGS   = /Ox /G6 /Gr /Ob2 /DFUTILITY /DEPD
>>COPTS    = /DFAST /DEGTB6 /DVC_INLINE_ASM /DUSE_ASSEMBLY
>>
>>Those are the target options that I have in my makefile. Other than adding
>>/DFUTILITY and /DEPD it is pretty standard.
>>
>>Under the Intel 8 compiler I use: (Mostly from Mike)
>>
>>CFLAGS   = /O3 /G6 /Gr /Ob2 /Qunroll /Qip /Qipo /QaxiW /W0 /DEPD /DFUTILITY
>>COPTS    = /DFAST /DEGTB6 /DVC_INLINE_ASM /DUSE_ASSEMBLY
>>
>>I am wondering if I am using the best options under MSVC. Are there better
>>options when compiling for the P4 processor?
>>
>>Peter.
>
>For the Intel 8 compiler I would remove the /Qunroll option. Normally AMD
>systems run faster when loops are unrolled and Intel system run slower. You
>might try removing the /DFAST option for the MSVC compile as Russell found it to
>be faster without this option under MSVC 2003 .NET.

Intel 8 /wo /Qunroll


Initializing multiple threads.
System is SMP, not NUMA.
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Crafty v19.10 (1 cpus)

White(1): bench
Running benchmark. . .
......
Total nodes: 89942714
Raw nodes per second: 782110
Total elapsed time: 115
SMP time-to-ply measurement: 5.565217
White(1):

Intel 8 /w /Qunroll

Intel 8 SMP Build

Initializing multiple threads.
System is SMP, not NUMA.
EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Crafty v19.10 (1 cpus)

White(1): bench
Running benchmark. . .
......
Total nodes: 89942714
Raw nodes per second: 768741
Total elapsed time: 117
SMP time-to-ply measurement: 5.470085
White(1):

MSVC 6.0 /w sp5 /wo /dfast

EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Crafty v19.10

White(1): bench
Running benchmark. . .
......
Total nodes: 89942714
Raw nodes per second: 708210
Total elapsed time: 127
SMP time-to-ply measurement: 5.039370
White(1):

MSVC 6.0 /w sp5 /w /dfast

EPD Kit revision date: 1996.04.21
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].

Crafty v19.10

White(1): bench
Running benchmark. . .
......
Total nodes: 89942714
Raw nodes per second: 686585
Total elapsed time: 131
SMP time-to-ply measurement: 4.885496
White(1):

Both of your options seem to slighty make a faster exe.

Peter.



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.