Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Best compiler options for MSVC?

Author: Bryan Hofmann

Date: 02:11:31 02/16/04

Go up one level in this thread


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.





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.