X86-64
From Wikipedia, the free encyclopedia
- The correct title of this article is x86-64. The initial letter is shown capitalized due to technical restrictions.
x86-64 is a 64-bit microprocessor architecture and corresponding instruction set; it is a superset of the Intel x86 architecture, which it natively supports. It was designed by Advanced Micro Devices (AMD), who have since renamed it AMD64. This architecture has also been adopted by Intel under the name Intel 64 (formerly known as Yamhill, Clackamas Technology (CT), IA-32e, and most recently EM64T).[1] This leads to the common use of the names x86-64 or x64 as more vendor-neutral terms to collectively refer to the two nearly identical implementations.
Contents |
[edit] AMD64
The AMD64 instruction set is currently implemented in AMD's Athlon 64, Athlon 64 FX, Athlon 64 X2, Turion 64, Turion 64 X2, Opteron and later Sempron processors.
[edit] Architectural features
AMD64 was created as an alternative to Intel and Hewlett Packard's radically different IA-64 architecture, which was protected from cloning by a number of patents. The primary defining characteristic of AMD64 is its support for 64-bit general purpose registers, 64-bit integer arithmetic and logical operations, and 64-bit virtual addresses. The designers took the opportunity to make other improvements as well. The most significant changes include:
- Full support for 64-bit integers: All general-purpose registers (GPRs) are expanded from 32 bits to 64 bits, and all arithmetic and logical operations, memory-to-register and register-to-memory operations, etc., are now directly supported for 64-bit integers. Pushes and pops on the stack are always in eight-byte strides, and pointers are eight bytes wide.
- Additional registers: In addition to increasing the size of the general-purpose registers, the number of named general-purpose registers is increased from eight (i.e. eax,ebx,ecx,edx,ebp,esp,esi,edi) in x86-32 to 16. It is therefore possible to keep more local variables in registers rather than on the stack, and to let registers hold frequently accessed constants — this should be a significant area of speed improvement for software with computationally intensive deeply nested loops; arguments for small and fast subroutines may also be passed in registers to a greater extent. However, more registers also involves more saving and restoring of register contents, and AMD64 still has fewer registers than many common RISC processors (which typically have 31–64 registers) or VLIW-like machines such as the IA-64 (which has 128 registers).
- Additional XMM (SSE) registers: Similarly, the number of 128-bit XMM registers (used for Streaming SIMD instructions) is also increased from 8 to 16.
- Larger virtual address space: Current processor models implementing the AMD64 architecture can address up to 256 tebibytes of virtual address space (248 bytes). This limit can be raised in future implementations to 16 exbibytes (264 bytes). This is compared to just 4 gibibytes for 32-bit x86. This means that very large files can be operated on by mapping the entire file into the process' address space (which is generally faster than working with file read/write calls), rather than having to map regions of the file into and out of the address space.
- Larger physical address space: Current implementations of the AMD64 architecture can address up to 1 tebibyte of RAM (240 bytes); the architecture permits extending this to 4 pebibytes (252 bytes) in the future (limited by the page table entry format). In legacy mode, Physical Address Extension (PAE) is supported, as it is on most current 32-bit x86 processors, allowing access to a maximum of 64 gibibytes.
- Instruction pointer relative data access: Instructions can now reference data relative to the instruction pointer (RIP register). This makes position independent code, as is often used in shared libraries and code loaded at run time, more efficient.
- SSE instructions: The original AMD64 architecture adopted Intel's SSE and SSE2 as core instructions. SSE3 instructions were added in April 2005. SSE2 replaces the x87 instruction set's IEEE 80-bit precision, with the choice of either IEEE 32-bit or 64-bit floating-point mathematics. This provides floating-point operations compatible with many other modern CPUs. The SSE and SSE2 instructions have also been extended to support the eight new XMM registers. SSE and SSE2 are available in 32-bit mode in modern x86 processors; however, if they're used in 32-bit programs, those programs will only work on systems with processors that support them. This is not an issue in 64-bit programs, as all processors that support AMD64 support SSE and SSE2, so using SSE and SSE2 instructions instead of x87 instructions does not reduce the set of machines on which the programs will run. Since SSE and SSE2 are generally faster than, and duplicate most of the features of, the traditional x87 instructions, MMX, and 3DNow!, the latter are redundant under AMD64.
- No-Execute bit: The “NX” bit (bit 63 of the page table entry) allows the operating system to specify which pages of virtual address space can contain executable code and which cannot. An attempt to execute code from a page tagged "no execute" will result in a memory access violation, similar to an attempt to write to a read-only page. This should make it more difficult for malicious code to take control of the system via "buffer overrun" or "unchecked buffer" attacks. A similar feature has been available on x86 processors since the 80286 as an attribute of segment descriptors; however, this works only on an entire segment at a time. Segmented addressing has long been considered an obsolete mode of operation, and all current PC operating systems in effect bypass it, setting all segments to a base address of 0 and a size of 4 GiB. AMD was the first x86-family vendor to support no-execute in linear addressing mode. The feature is also available in legacy mode on AMD64 processors, and recent Intel x86 processors, when PAE is used.
- Removal of older features: A number of "system programming" features of the x86 architecture are not used in modern operating systems and are not available on AMD64 in long (64-bit and compatibility) mode. These include segmented addressing (although the FS and GS segments remain in vestigial form, for compatibility with Windows code), the task state switch mechanism, and Virtual-8086 mode. These features do of course remain fully implemented in "legacy mode," thus permitting these processors to run 32-bit and 16-bit operating systems without modification. If, at some point in the future, 32-bit and 16-bit code using those features is no longer used, support for them might be removed from hardware to streamline processor design and save manufacturing costs. These features could be emulated in the operating system to preserve legacy application compatibility, as with DOSBox and similar emulators.
[edit] Virtual address space details
Although virtual addresses are 64 bits wide in 64-bit mode, current implementations (and any chips known to be in the planning stages) do not allow the entire virtual address space of 264 bytes (16 exbibytes, or about 18×1018 bytes) to be used. Most operating systems and applications will not need such a large address space for the foreseeable future (for example, Windows implementations for AMD64 are only populating 16 tebibytes, or 44 bits' worth), so supporting such wide virtual addresses would simply increase the complexity and cost of address translation with no real benefit. AMD therefore decided that, in the first implementations of the architecture, only the least significant 48 bits of a virtual address would actually be used in address translation (page table lookup). However, bits 48 through 63 of any virtual address must be copies of bit 47 (in a manner akin to sign extension), or an exception will be raised. Addresses complying with this rule are referred to as "canonical form." Canonical form addresses run from 0 through 7FFF`FFFFFFFF, and from FFFF8000`00000000 through FFFFFFFF`FFFFFFFF, for a total of 248 bytes or 256 tebibytes of usable virtual address space.
This "quirk" allows an important feature for later scalability to true 64-bit addressing: most operating systems allocate kernel space, program code, data segments, and program heap starting close to address 00000000`00000000 and allocate the stack starting close to address FFFFFFFF`FFFFFFFF. This maximizes the space available for the stack and heap while minimizing the possibility of a collision between them. The "canonical address" design ensures that every AMD64 compliant implementation has, in effect, two memory halves: the lower half starts at 00000000`00000000 and "grows upwards" as more virtual address bits become available, while the higher half is "docked" to the top of the address space and grows downwards.
Current 48-bit implementation | 56-bit implementation | Full 64-bit implementation |
(not drawn to scale) |
The 64-bit addressing mode ("long mode") is a superset of Physical Address Extensions (PAE); because of this, page sizes may be either 4 KiB (212 bytes) or 2 MiB (221 bytes). However, rather than the three-level page table system used by systems in PAE mode, systems running in long mode use four levels of page table: PAE's Page-Directory Pointer Table is extended from 4 entries to 512, and an additional Page-Map Level 4 Table is added, containing 512 entries in 48-bit implementations. In implementations supporting larger virtual addresses, this latter table would either grow to accommodate sufficient entries to describe the entire address range, up to a theoretical maximum of 33,554,432 entries for a 64-bit implementation, or be over ranked by a new mapping level, such as a PML5. Either way, a full mapping hierarchy of 4 KiB pages for the whole 48-bit space would take a bit more than 512 GiB of RAM (about 0.196% of the 256 TiB virtual space).
[edit] Operating modes
Operating mode | Operating system required | Application rebuild required | Default address size | Default operand size | Register extensions | Typical GPR width | |
---|---|---|---|---|---|---|---|
Long mode | 64-bit mode | New OS with 64-bit AMD64 support | Yes | 64 | 32 | Yes | 64 |
Compatibility mode | No | 32 | 32 | No | 32 | ||
16 | 16 | 16 | |||||
Legacy Mode | Protected Mode | Legacy 16-bit or 32-bit OS | No | 32 | 32 | No | 32 |
16 | 16 | 16 | |||||
Virtual 8086 mode | 16 | 16 | 16 | ||||
Real mode | Legacy 16-bit OS |
[edit] Operating mode explanation
There are two primary modes of operation for this architecture:
- Long Mode
- The intended primary mode of operation of the architecture; it is a combination of the processor's native 64-bit mode and a 32-bit/16-bit compatibility mode. It is used by 64-bit operating systems. Under a 64-bit operating system, 64-bit, 32-bit and 16-bit (or 80286) protected mode applications may be supported.
- Since the basic instruction set is the same, there is no major performance penalty for executing x86 code. This is unlike Intel's IA-64, where differences in the underlying ISA means that running 32-bit code is like using an entirely different processor. However, on AMD64, 32-bit x86 applications may still benefit from a 64-bit recompile, due to the additional registers in 64-bit code, which a high-level compiler can use for optimization.
- Legacy Mode
- The mode used by 16-bit (protected mode or real mode) and 32-bit operating systems. In this mode, the processor acts just like an x86 processor, and only 16-bit or 32-bit code can be executed. 64-bit programs will not run.
[edit] Implementations
The following processors implement the AMD64 architecture:
- AMD K8
- AMD Athlon 64
- AMD Athlon 64 X2
- AMD Athlon 64 FX
- AMD Opteron
- AMD Turion 64
- AMD Turion 64 X2
- AMD Sempron ("Palermo" E6 stepping and all "Manila" models)
[edit] Intel 64
Intel 64 (formerly known as Extended Memory 64-bit Technology (EM64T) or IA-32e) is Intel's implementation of x86-64.
During much of its history, AMD has developed and produced processors patterned after Intel's original designs, but in an ironic twist of computing history, Intel found itself in the position of adopting AMD's x86-64 architecture, which AMD had created as an extension to Intel's own x86 processor line. As AMD later renamed its architecture to AMD64, Intel in turn has renamed their implementation Intel 64. It is used in newer versions of Pentium 4, Pentium D, Pentium Extreme Edition, Celeron D, Xeon, and Core 2 processors.
[edit] History
The project began with the codename Yamhill, named after the Yamhill River in Oregon's Willamette Valley. After several years of denying that this project existed, Intel eventually admitted it existed in early 2004, and gave it the codename CT (Clackamas Technology), also named after an Oregon river, the Clackamas. Then within the space of weeks of the CT announcement, Intel gave it several new names. After the spring 2004 IDF, Intel named it IA-32E (IA-32 Extensions) and a few weeks later devised the name EM64T. Intel's chairman at the time, Craig Barrett, admitted that this was one of their worst kept secrets.[2][3] A recent white paper discussing SSE4 and future extensions[1] refers to the instruction set as "Intel64".
[edit] Summary from the Intel website
Intel 64 improves performance by allowing the system to address more than 4 GiB of both virtual and physical memory. Intel 64 provides support for: [4]
- 64-bit flat virtual address space
- 64-bit pointers
- 64-bit wide general purpose registers
- 64-bit integer support
- Up to 1 tebibyte (TiB) of platform address space
[edit] Implementations
Intel 64 was originally implemented on the E revision (Prescott) of Pentium 4 line of microprocessors, which were supported by i915P (Grantsdale) and i925X (Alderwood) chipsets in June 2004. This was largely due to the competitive pressure of AMD's AMD64 technology implemented on Opteron and Athlon 64 lines of microprocessing units, otherwise known as the K8 core, one year earlier in 2003; the technology was largely built compatible to AMD64, and the then announced Windows XP Professional x64 Edition supporting AMD64 technology. Intel's first processor to activate the Intel 64 technology was the multi-socket processor Xeon code-named Nocona. Since the Nocona Xeon itself is directly based on Intel's desktop processor, the Pentium 4, the Pentium 4 also has Intel 64 technology built in, although as with Hyper-Threading, this feature was not initially enabled on the then-new Prescott design, likely because enabling Intel 64 did not coincide with Intel's stance on 64-bit x86 extensions at that particular time. Intel subsequently began selling Intel 64-enabled Pentium 4s using the E0 revision of the Prescott core, being sold on the market as the Pentium 4, model F. However, the revision F core was targeted at workstations. Intel's official launch of Intel 64 (under the name EM64T at that time) in mainstream desktop processors was the N0 Stepping Prescott-2M. The E0 revision also adds eXecute Disable(XD) (Intel's name for the NX bit) support to Intel 64, and has been included in the current Xeon code-named Irwindale. All 9xx/8xx/6xx/5x6/5x1/3x6/3x1 series CPUs have Intel 64 enabled, as do the Core 2 CPUs, and as will all future Intel CPUs. Intel 64 is also present in the last members of the Celeron D line.
The first Intel mobile processor supporting Intel 64 is the Merom version of the Core 2 processor, which was released on 27 July 2006. None of Intel's earlier notebook CPUs (Core Duo, Pentium M, Celeron M, Mobile Pentium 4) support Intel 64.
The following processors implement the Intel 64 architecture:
- Intel NetBurst
- Intel Xeon (some models since "Nocona")
- Intel Celeron D (some models since "Prescott")
- Intel Pentium 4 (some models since "Prescott")
- Intel Pentium D
- Intel Pentium Extreme Edition
- Intel Core microarchitecture
- Intel Xeon ("Woodcrest")
- Intel Core 2
[edit] Differences between AMD64 and Intel 64
There are a small number of differences between each instruction set. Compilers generally produce binaries that target both AMD64 and Intel 64, making the differences mainly of interest to compiler developers and operating system developers.
[edit] Currently
- Intel 64's BSF and BSR instructions act differently when the source is 0 and the operand size is 32 bits. The processor sets the zero flag and leaves the upper 32 bits of the destination undefined.
- Intel 64 lacks the ability to save and restore a reduced (and thus faster) version of the floating-point state (involving the FXSAVE and FXRSTOR instructions).
- Intel 64 lacks some model-specific registers that are considered architectural to AMD64. These include SYSCFG, TOP_MEM, and TOP_MEM2.
- Intel 64 supports microcode update as in 32-bit mode, whereas AMD64 processors use a different microcode update format and control MSRs.
- Intel 64 supports the MONITOR and MWAIT instructions, used by operating systems to better deal with Hyper-threading.
- AMD64 systems allow the use of the AGP aperture as an IOMMU. Operating systems can take advantage of this to let normal PCI devices DMA to memory above 4 GiB. Intel 64 systems require the use of bounce buffers, which are slower.
- SYSCALL and SYSRET are also only supported in IA-32e mode (not in compatibility mode) on Intel 64. SYSENTER and SYSEXIT are supported in both modes.
- Near branches with the 66H (operand size) prefix behave differently. One type of CPU clears only the top 32 bits, while the other type clears the top 48 bits.
[edit] Previously
- Early AMD64 processors lacked the CMPXCHG16B instruction, which is an extension of the CMPXCHG8B instruction present on most post-486 processors. Similar to CMPXCHG8B, CMPXCHG16B allows for atomic operations on 128-bit double quadword (or oword) data types. This is useful for high resolution counters that could be updated by multiple processors (or cores). Without CMPXCHG16B the only way to perform such an operation is by using a critical section.
- Early Intel CPUs with Intel 64 lacked LAHF and SAHF instructions supported by AMD64 until introduction of Pentium 4 G1 step in December 2005. LAHF and SAHF are load and store instructions, respectively, for certain status flags. These instructions are used for virtualization and floating-point condition handling.
- Early Intel CPUs with Intel 64 also lack the NX bit (No Execute bit) of the AMD64 architecture. The NX bit marks memory pages as non-executable, allowing protection against many types of malicious code.
- Originally Intel 64 hardware allowed access only to 236 bytes of memory, while AMD64 systems can handle up to 240 bytes (with planned expansion to 256 bytes). However, as of recent publications, Intel 64 now provides 240 bytes of memory access.
[edit] Market analysis
AMD's AMD64 design represents a break with the company's past behavior of following Intel's standards, but emulates Intel's earlier behavior of extending the x86 architecture, from the 16-bit 8086 to the 32-bit 80386 and beyond, without ever removing backward compatibility.
It was long believed that 64-bit RISC chips such as the DEC Alpha would eventually replace the outdated and quirky x86 architecture (which is a direct descendant from 8-bit processors, such as the 8085 and the Z80). Part of the reason this did not happen was the vast investment in application software for x86-based systems. Intel, Cyrix, AMD, and others, also quickly found ways to apply modern design principles (inspired by RISC designs, as well as other ideas) transparently, i.e. without changing the basic programming model. A large company, such as Intel, can also employ the latest low-level implementation techniques, which enhances performance regardless of architecture. Furthermore, the 8-bit heritage of the x86 processor line actually helps making good use of limited cache memories, thanks to an inherent small code footprint[citation needed].
Part of the reason is also that the worst performance problems of the original 8086 and 8087 chips, such as the slow bus-interface, were quickly fixed by the advent of the 80186 and 80286* chips (in 1982). The 80386 (in 1985) then extended the limited linear address space and could also hide the segmentation architecture completely**. The remaining performance hampering quirks of the original design, such as the stacked x87 registers, has been both largely factored out (by register renaming and other techniques) and, lately, successively replaced, without losing backward compatibility. The x86-64 architecture finally migrates the x86 architecture into a fully 64-bit environment, while maintaining compatibility with legacy applications.
As of 2006, most consumer and business applications have not evolved into 64-bit aware software. Most current software applications do not need to address more than 2 GiB of address space. Nevertheless, their chips' cost-effectiveness has allowed AMD to capture a larger share of the personal computer market, at Intel's expense, simply because of the performance-to-cost ratio and the expected growth capability should 64-bit applications become common. Intel in the summer of 2006 had announced a substantial reduction in net revenue and major restructuring.
* The 80286 also introduced protected mode allowing a fully protected OS to be developed for it (though the protection was segment-based) and increased the physical address space to 24 bits. Registers were still 16 bits however, meaning that the same "logical" address and segment size limitations as in 8088 applied.
** The 80386 introduced a more traditional paging scheme on top of the (now "optional") segmentation.
[edit] Operating system support
The following operating systems and releases support the x86-64 architecture in long mode:
[edit] DOS
It is possible to enter long mode under DOS with a DOS extender similar to DOS4GW. DOS itself is not aware of that and no benefits should be expected unless running DOS in an emulation with an adequate virtualization driver backend, for example: the mass storage interface.
[edit] FreeBSD
FreeBSD first added x86-64 support as an experimental architecture in 5.1-RELEASE. Since then, FreeBSD has designated the x86-64 architecture as a Tier 1 platform. The 6.0-RELEASE version cleaned up some quirks with running 32-bit executables under AMD64, and most drivers work just as they do on 32-bit x86 architectures. Work is currently being done to fully integrate the 32-bit x86 application binary interface (ABI), in the same manner as the Linux 32-bit ABI compatibility currently works. Within the FreeBSD environment and developer code base, the x86-64 architecture is usually referred to as "amd64".
[edit] Linux
Linux was the first operating system kernel to run the x86-64 architecture in long mode, starting with the 2.4 version prior to the physical hardware's availability. Linux also provides backward compatibility for running 32-bit executables. This permits programs to be recompiled into long mode while retaining the use of 32-bit programs. Arch Linux, CentOS, Debian, Fedora, Frugalware, Gentoo, Kanotix, Mandriva, Novell, PLD, Red Hat, SabayonLinux, Slackware, Source Mage, SUSE and Ubuntu Linux distributions currently ship with x86-64-native kernels and userlands. Some, such as SUSE and Mandriva, package both 32-bit and 64-bit systems on a single DVD-ROM image to allow automatic selection of the best software during installation. The Debian team has announced that their next release (Debian GNU/Linux 4.0, alias etch) will officially support the x86-64 architecture.
[edit] Mac OS X
Apple Computer has indicated that Mac OS X 10.5 will support 64-bit applications on its 64-bit Intel-based machines as well as on 64-bit PowerPC machines.[5] Mac OS X 10.4.7 and higher support 64-bit command-line tools when run on 64-bit Intel-based machines, just as version 10.4 and higher support them on 64-bit PowerPC machines.[6]
[edit] MenuetOS
The AMD64 version of MenuetOS was released in June 2005. Although MenuetOS was originally written for 32-bit x86 architectures and released under the GPL, the AMD64 version is proprietary. It is distributed as freeware with the source code for some components.
[edit] NetBSD
Support for the x86-64 architecture was first committed to the NetBSD source tree on 19 June 2001. As of NetBSD 2.0, released on 9 December 2004, NetBSD/amd64 is a fully integrated and supported port.
[edit] OpenBSD
OpenBSD has supported AMD64 since OpenBSD 3.5, released on 1 May 2004. Complete in-tree support for the platform was achieved prior to the hardware's initial release due to AMD's loaning of several machines for the project's hackathon that year. OpenBSD developers have taken to the platform because of its use of the NX bit, which allowed for an easy implementation of the W^X feature.
The code for the AMD64 port of OpenBSD also runs on Intel 64 processors which contains cloned support for the AMD64 extensions, but since Intel left out support for the page table NX bit in early Intel 64 processors, there is no W^X support on those Intel CPUs; later Intel 64 processors added support for the NX bit under the name "XD bit". Symmetric multiprocessing (SMP) is supported on OpenBSD's AMD64 port, starting with release 3.6 on 1 November 2004.
[edit] Solaris
Solaris 10 and later releases support the x86-64 architecture. Just as with the SPARC architecture, there is only one operating system image for all 32-bit and 64-bit x86 systems; this is labeled as the "x86/x64" DVD-ROM image.
Default behavior is to boot a 64-bit kernel, allowing both 64-bit and existing or new 32-bit executables to be run. A 32-bit kernel can also be manually selected, in which case only 32-bit executables are supported. The isainfo
command can be used to determine if a system is running a 64-bit kernel.
[edit] Windows
x64 editions of Microsoft Windows client and server, Windows XP Professional x64 Edition and Windows Server 2003 SP1 x64 Edition, were released in March 2005. Internally they are actually the same build (5.2.3790.1830 SP1), as they share the same source base and operating system binaries, so even system updates are released in unified packages, much in the manner as Windows 2000 Professional and Server editions for x86. Windows for x64 has the following characteristics:
- 8 tebibytes (243 bytes) of user mode virtual address space per process. A 64-bit program can use all of this, subject of course to backing store limits on the system. This is a 4096-fold increase over the default 2 gibibyte user-mode virtual address space offered by 32-bit Windows.
- 8 tebibytes (243 bytes) of kernel mode virtual address space for the operating system. Again, this is a 4096-fold increase over 32-bit Windows versions. The increased space is primarily of benefit to the file system cache and kernel mode "heaps" (non-paged pool and paged pool).
- Support for up to 128 GiB (Windows XP) or 1 TiB (Windows Server 2003) of RAM.
- LLP64 data model: "int" and "long" types are still 32 bits wide, while pointers and types derived from pointers are 64 bits wide.
- Device drivers must be 64-bit versions; there is no support for running 32-bit kernel-mode executables within the 64-bit OS.
- Support for running existing 32-bit applications (.exe's) and dynamic link libraries (.dll's). A 32-bit program, if linked with the "large address aware" option, can use up to 4 gibibytes of virtual address space, as compared to the default 2 gibibytes (optional 3 gibibytes with /3GB boot.ini option and "large address aware" link option) offered by 32-bit Windows.
- 16-bit DOS and Windows (Win16) applications will not run on x64 versions of Windows due to removal of NTVDM.
- Full implementation of the NX (No Execute) page protection feature. This is also implemented on recent 32-bit versions of Windows when they are started in PAE mode.
- As in x86 versions of the Windows NT family, the FS and GS segment descriptors are used to point to two operating system defined structures: the Thread Information Block and Processor Control Region, respectively. Thus, for example, [FS]:0 is the address of the first member of the Thread Information Block. Maintaining this convention made the x64 port easier, but required AMD to retain the function of the FS and GS segments in long mode — even though segmented addressing per se is not really used by any modern operating system.
- Early reports claimed that the operating system scheduler would not save and restore the x87 FPU machine state across thread context switches. Observed behavior shows that this is not the case: the x87 state is saved and restored, except for kernel-mode-only threads. Nevertheless, the most recent documentation available from Microsoft states that the x87/MMX/3DNow! instructions may not be used in long mode.
- Some components like Microsoft Jet Database Engine and Data Access Objects will not be ported to 64-bit architectures such as x86-64 and IA-64.[7][8]
[edit] Industry naming conventions
Since AMD64 and Intel 64 are substantially similar, it is convenient to have a vendor-neutral way to designate products that support both implementations. AMD's original designation for this processor architecture, "x86-64", is still sometimes used for this purpose. The Linux kernel and Apple's Mac OS X[9] use the variant "x86_64".
Similarly, Microsoft began using "x64" as a vendor-neutral way to refer to products that support both AMD64 and Intel 64. Other companies, such as Sun Microsystems, have also adopted this convention.
Internally, x64 versions of Windows use the AMD64 moniker to designate various components which use 64-bit technology for IA-32 processors (for example, the system folder on a Windows x64 Edition installation CD-ROM is named "AMD64" instead of "i386" in 32-bit versions). Similarly, the isalist
command in Sun's Solaris operating system identifies both AMD64- and Intel 64–based systems as "amd64", largely due to the fact that Solaris support for this processor architecture predated the existence of the Intel 64 extensions and the x64 term. Likewise, other operating systems such as Linux, FreeBSD, NetBSD and OpenBSD support both AMD64 and Intel 64 under the architecture name "amd64".
See the section of this article on the history of Intel 64 for the various names used by Intel.
[edit] See also
[edit] References
- ^ a b Extending the World's Most Popular Processor Architecture
- ^ "Craig Barrett confirms 64 bit address extensions for Xeon. And Prescott", from The Inquirer
- ^ "A Roundup of 64-Bit Computing", from internetnews.com
- ^ Intel 64 Architecture
- ^ Apple - Leopard Sneak Peek - 64 bit
- ^ Apple - Mac OS X Xcode 2.4 Release Notes: Compiler Tools
- ^ Microsoft Developer Network - General Porting Guidelines (64-bit Windows Programming)
- ^ Microsoft Developer Network - Data Access Road Map
- ^ Kevin Van Vechten (August 9, 2006). message announcing that the Mac OS X team uses "x86_64". Darwin-dev mailing list. Apple Computer. Retrieved on 2006-10-05.
[edit] External links
- Article: 20 issues of porting C++ code on the 64-bit platform (PDF)
- AMD's free technical documentation for the AMD64 architecture
- AMD's AMD64 documentation on CD-ROM (U.S. and Canada only) and downloadable PDF format
- AMD64 Technology: Overview of the AMD64 Architecture (PDF)
- AMD's "Enhanced Virus Protection"
- Intel tweaks EM64T for full AMD64 compatibility
- Analyst: Intel Reverse-Engineered AMD64
- Early report of differences between Intel IA32e and AMD64
- Porting to 64-bit GNU/Linux Systems, by Andreas Jaeger from GCC Summit 2003 [1]. An excellent paper explaining almost all practical aspects for a transition from 32-bit to 64-bit.
- Start64! - Start on 64
- Tech Report article: 64-bit computing in theory and practice
- OR http://www.hardware.tripod.com/emt64t.htm
- Lot of interesting information about 64-bit development
- Interesting 64-bit shared memory support for .NET