Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to set up a 64 bit console project on VS2005?

Author: Dezhi Zhao

Date: 11:28:42 09/27/05

Go up one level in this thread


On September 27, 2005 at 12:20:27, Bo Persson wrote:

>On September 27, 2005 at 00:56:20, Dezhi Zhao wrote:
>
>>VS2005 RC is finally up and running on Win x64 for me.
>>However I cannot find a template for a simple 64 bit console project.
>>Or, do I have to use command line?
>>I want to try some simple int and bit operations and take a look at the x86-64
>>asm output.
>>
>>Any hints? Thanks
>
>Despite the name, you have to choose a Win32 Console Project. Then (if you have
>installed the 64 bit compiler) you can add an x64 target in the project
>properties.
>
>At least in the beta versions, the installer didn't install the 64 bit compiler
>unless you explicitly selected it...
>
>
>
>Bo Persson

Thanks! Your trick works fine for me.

Just took a look at the asm code and it seems to me there are no name for the
upper 32 bit part of a general 64 bit register. If you want to extract the upper
32 bits, the compiler generates a right shift operation.
By the way, I have tried the 32 bit C/C++ compiler. It is much better than the
one in VS2003.




This page took 0.01 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.