64-bit Programming

Source: Internet
Author: User
64-bit Processor

The number of digits is distinguished by the Bit Width of the General Register, which refers to the general-purpose
Registers, general-purpose registers). The data width is 64-bit. The 64-bit instruction set is the instruction that runs 64-bit data, that is, the processor can run 64-bit data at a time. 64-bit CPU, compared with 32-bit CPU, the most significant change in 64-bit CPU is the increase of 8 64-bit General registers, the memory addressing capability is increased to 64-bit, and the register and command pointer are upgraded to 64-bit.

 

64bit computing has two main advantages: it can perform integer operations in a larger range; it can support larger memory. For applications that require multi-processor scalability, larger addressable memory, video/audio/3D processing (game programming and image processing), or higher computing accuracy, AMD 64 processors provide excellent performance.

 

Currently, the 64-bit CPU technology mainly includes amd amd64-bit technology, Intel em64t technology, and Intel IA-64 technology. Among them, IA-64 is independently developed by Intel, not compatible with the current traditional 32-bit computer, only for itanium (anteng) and subsequent products itanium 2.

 

Pasted
From http://wenda.tianya.cn/wenda/thread? Tid = 03c9fd9aac926f28>

 

64-bit compiler support

Currently, vs2008 and vs2010 do not have 64-bit versions. However, it supports 64-bit compilation and debugging.

 

Set the C ++ application to a 64-bit Platform

  1. Open the C ++ project to be configured for the 64-bit platform.
  2. Open the properties page of the project. For more information, see How to: Open the project properties page.

Note:

For. Net projects, make sure that
In the properties page dialog box, select the "Configure attributes" node or one of its subnodes. Otherwise, the "Configuration Manager" button is still disabled.

  1. Click "Configuration Manager" to open the "Configuration Manager" dialog box.
  1. Click the "Active solution platform" list and select the "<new...>" option to open the "New Solution platform" dialog box.
  1. Click the drop-down arrow of "type or select a new platform" and select a 64-bit platform.

Note:

In the "New Solution platform" dialog box, you can use the "copy from here Settings" option to copy the existing project settings to the new 64-bit project configuration.

  1. Click OK ". The platform selected in the previous step appears under active solution platform in the Configuration Manager dialog box.
  1. In the Configuration Manager dialog box, click close, and then click OK in the <Project Name> properties page dialog box ".

 

Source Document

References 2

 

Note:
  • 64-bit programs can only load 64-bit DLL
Key Points of 64-bit Programming

Pointer Conversion

Pointer operation

Alignment

 

Reference 1

 

References

1. The 64-bit OS architecture

Experience Value reference

 

2. Windows 64-bit technology-64-bit porting of C/C ++ (3)

Intuitive

 

3. Visual C ++ 64-bit Programming

Official statement, the most authoritative reference

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.