x86-64 (also known as x64, x86_64, AMD64, and Intel 64)[note 1] is a 64-bit version of the x86 instruction set, first released in 1999. It introduced two new modes of operation, 64-bit mode and compatibility mode, along with a new 4-level paging mode.
With 64-bit mode and the new paging mode, it supports vastly larger amounts of virtual memory and physical memory than was possible on its 32-bit predecessors, allowing programs to store larger amounts of data in memory. x86-64 also expands general-purpose registers to 64-bit, and expands the number of them from 8 (some of which had limited or fixed functionality, e.g. for stack management) to 16 (fully general), and provides numerous other enhancements. Floating-point arithmetic is supported via mandatory SSE2-like instructions, and x87/MMX style registers are generally not used (but still available even in 64-bit mode); instead, a set of 16 vector registers, 128 bits each, is used. (Each register can store one or two double-precision numbers or one to four single-precision numbers, or various integer formats.) In 64-bit mode, instructions are modified to support 64-bit operands and 64-bit addressing mode.
The compatibility mode defined in the architecture allows 16- and 32-bit user applications to run unmodified, coexisting with 64-bit applications if the 64-bit operating system supports them.[note 2] As the full x86 16-bit and 32-bit instruction sets remain implemented in hardware without any intervening emulation, these older executables can run with little or no performance penalty, while newer or modified applications can take advantage of new features of the processor design to achieve performance improvements. Also, a processor supporting x86-64 still powers on in real mode for full backward compatibility with the 8086, as x86 processors supporting protected mode have done since the 80286.
The original specification, created by AMD and released in 2000, has been implemented by AMD, Intel, and VIA. The AMD K8 microarchitecture, in the Opteron and Athlon 64 processors, was the first to implement it. This was the first significant addition to the x86 architecture designed by a company other than Intel. Intel was forced to follow suit and introduced a modified NetBurst family which was software-compatible with AMD's specification. VIA Technologies introduced x86-64 in their VIA Isaiah architecture, with the VIA Nano.
The x86-64 architecture is distinct from the Intel Itanium architecture (formerly IA-64). The architectures are not compatible on the native instruction set level, and operating systems and applications compiled for one cannot be run on the other.
AMD64 (also variously referred to by AMD in their literature and documentation as “AMD 64-bit Technology” and “AMD x86-64 Architecture”) was created as an alternative to the radically different IA-64 architecture designed by Intel and Hewlett-Packard, which was backward-incompatible with IA-32, the 32-bit version of the x86 architecture. AMD originally announced AMD64 in 1999 with a full specification available in August 2000. As AMD was never invited to be a contributing party for the IA-64 architecture and any kind of licensing seemed unlikely, the AMD64 architecture was positioned by AMD from the beginning as an evolutionary way to add 64-bit computing capabilities to the existing x86 architecture while supporting legacy 32-bit x86 code, as opposed to Intel's approach of creating an entirely new, completely x86-incompatible 64-bit architecture with IA-64.
The first AMD64-based processor, the Opteron, was released in April 2003.
AMD's processors implementing the AMD64 architecture include Opteron, Athlon 64, Athlon 64 X2, Athlon 64 FX, Athlon II (followed by "X2", "X3", or "X4" to indicate the number of cores, and XLT models), Turion 64, Turion 64 X2, Sempron ("Palermo" E6 stepping and all "Manila" models), Phenom (followed by "X3" or "X4" to indicate the number of cores), Phenom II (followed by "X2", "X3", "X4" or "X6" to indicate the number of cores), FX, Fusion/APU and Ryzen/Epyc.
The primary defining characteristic of AMD64 is the availability of 64-bit general-purpose processor registers (for example, rax), 64-bit integer arithmetic and logical operations, and 64-bit virtual addresses. The designers took the opportunity to make other improvements as well.
Notable changes in the 64-bit extensions include:
- 64-bit integer capability
- 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., can operate directly on 64-bit integers. Pushes and pops on the stack default to 8-byte strides, and pointers are 8 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, ecx, edx, ebx, esp, ebp, esi, edi) in x86 to 16 (i.e. rax, rcx, rdx, rbx, rsp, rbp, rsi, rdi, r8, r9, r10, r11, r12, r13, r14, r15). It is therefore possible to keep more local variables in registers rather than on the stack, and to let registers hold frequently accessed constants; arguments for small and fast subroutines may also be passed in registers to a greater extent.
- AMD64 still has fewer registers than many RISC instruction sets (e.g. PA-RISC, Power ISA, and MIPS have 32 GPRs; Alpha, 64-bit ARM, and SPARC have 31) or VLIW-like machines such as the IA-64 (which has 128 registers). However, an AMD64 implementation may have far more internal registers than the number of architectural registers exposed by the instruction set (see register renaming). (For example, AMD Zen cores have 168 64-bit integer and 160 128-bit vector floating-point physical internal 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.
- The traditional x87 FPU register stack is not included in the register file size extension in 64-bit mode, compared with the XMM registers used by SSE2, which did get extended. The x87 register stack is not a simple register file although it does allow direct access to individual registers by low cost exchange operations.
- Larger virtual address space
- The AMD64 architecture defines a 64-bit virtual address format, of which the low-order 48 bits are used in current implementations.(p120) This allows up to 256 TB (248 bytes) of virtual address space. The architecture definition allows this limit to be raised in future implementations to the full 64 bits,(p2)(p3)(p13)(p117)(p120) extending the virtual address space to 16 EB (264 bytes). This is compared to just 4 GB (232 bytes) for the x86.
- This means that very large files can be operated on by mapping the entire file into the process's address space (which is often much 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
- The original implementation of the AMD64 architecture implemented 40-bit physical addresses and so could address up to 1 TB (240 bytes) of RAM.(p24) Current implementations of the AMD64 architecture (starting from AMD 10h microarchitecture) extend this to 48-bit physical addresses and therefore can address up to 256 TB (248 bytes) of RAM. The architecture permits extending this to 52 bits in the future(p24) (limited by the page table entry format);(p131) this would allow addressing of up to 4 PB of RAM. For comparison, 32-bit x86 processors are limited to 64 GB of RAM in Physical Address Extension (PAE) mode, or 4 GB of RAM without PAE mode.(p4)
- Larger physical address space in legacy mode
- When operating in legacy mode the AMD64 architecture supports Physical Address Extension (PAE) mode, as do most current x86 processors, but AMD64 extends PAE from 36 bits to an architectural limit of 52 bits of physical address. Any implementation, therefore, allows the same physical address limit as under long mode.(p24)
- 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. These instruction sets provide a vector supplement to the scalar x87 FPU, for the single-precision and double-precision data types. SSE2 also offers integer vector operations, for data types ranging from 8bit to 64bit precision. This makes the vector capabilities of the architecture on par with those of the most advanced x86 processors of its time. These instructions can also be used in 32-bit mode. The proliferation of 64-bit processors has made these vector capabilities ubiquitous in home computers, allowing the improvement of the standards of 32-bit applications. The 32-bit edition of Windows 8, for example, requires the presence of SSE2 instructions. SSE3 instructions and later Streaming SIMD Extensions instruction sets are not standard features of the architecture.
- No-Execute bit
- The No-Execute bit or 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 zero and (in their 32-bit implementation) a size of 4 GB. AMD was the first x86-family vendor to implement 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 few "system programming" features of the x86 architecture were either unused or underused in modern operating systems and are either not available on AMD64 in long (64-bit and compatibility) mode, or exist only in limited form. These include segmented addressing (although the FS and GS segments are retained in vestigial form for use as extra-base pointers to operating system structures),(p70) the task state switch mechanism, and virtual 8086 mode. These features remain fully implemented in "legacy mode", allowing these processors to run 32-bit and 16-bit operating systems without modifications. Some instructions that proved to be rarely useful are not supported in 64-bit mode, including saving/restoring of segment registers on the stack, saving/restoring of all registers (PUSHA/POPA), decimal arithmetic, BOUND and INTO instructions, and "far" jumps and calls with immediate operands.
Virtual address space details
Canonical form addresses
Although virtual addresses are 64 bits wide in 64-bit mode, current implementations (and all chips that are known to be in the planning stages) do not allow the entire virtual address space of 264 bytes (16 EB) to be used. This would be approximately four billion times the size of the virtual address space on 32-bit machines. Most operating systems and applications will not need such a large address space for the foreseeable future, so implementing 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).(p120)
In addition, the AMD specification requires that the most significant 16 bits of any virtual address, bits 48 through 63, must be copies of bit 47 (in a manner akin to sign extension). If this requirement is not met, the processor will raise an exception.(p131) Addresses complying with this rule are referred to as "canonical form."(p130) Canonical form addresses run from 0 through 00007FFF'FFFFFFFF, and from FFFF8000'00000000 through FFFFFFFF'FFFFFFFF, for a total of 256 TB of usable virtual address space. This is still 65,536 times larger than the virtual 4 GB address space of 32-bit machines.
This feature eases later scalability to true 64-bit addressing. Many operating systems (including, but not limited to, the Windows NT family) take the higher-addressed half of the address space (named kernel space) for themselves and leave the lower-addressed half (user space) for application code, user mode stacks, heaps, and other data regions. 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. Also, enforcing the "canonical form" of addresses by checking the unused address bits prevents their use by the operating system in tagged pointers as flags, privilege markers, etc., as such use could become problematic when the architecture is extended to implement more virtual address bits.
The first versions of Windows for x64 did not even use the full 256 TB; they were restricted to just 8 TB of user space and 8 TB of kernel space. Windows did not support the entire 48-bit address space until Windows 8.1, which was released in October 2013.
Page table structure
The 64-bit addressing mode ("long mode") is a superset of Physical Address Extensions (PAE); because of this, page sizes may be 4 KB (212 bytes) or 2 MB (221 bytes).(p120) Long mode also supports page sizes of 1 GB (230 bytes).(p120) 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 four entries to 512, and an additional Page-Map Level 4 (PML4) Table is added, containing 512 entries in 48-bit implementations.(p131) A full mapping hierarchy of 4 KB pages for the whole 48-bit space would take a bit more than 512 GB of memory (about 0.195% of the 256 TB virtual space).
Intel has implemented a scheme with a 5-level page table, which allows Intel 64 processors to support a 57-bit virtual address space. Further extensions may allow full 64-bit virtual address space and physical memory by expanding the page table entry size to 128-bit, and reduce page walks in the 5-level hierarchy by using a larger 64 KB page allocation size that still supports 4 KB page operations for backward compatibility.
Operating system limits
The operating system can also limit the virtual address space. Details, where applicable, are given in the "Operating system compatibility and characteristics" section.
Physical address space details
Current AMD64 processors support a physical address space of up to 248 bytes of RAM, or 256 TB. However, (As of 2020), there were no known x86-64 motherboards that support 256 TB of RAM. The operating system may place additional limits on the amount of RAM that is usable or supported. Details on this point are given in the "Operating system compatibility and characteristics" section of this article.
The architecture has two primary modes of operation: long mode and legacy mode.
|Operating||Operating system required||Type of code being run||Size (in bits)||No. of general-purpose registers|
|mode||sub-mode||addresses||operands (default in italics)|
|Long mode||64-bit mode||64-bit OS, 64-bit UEFI firmware, or the previous two interacting via a 64-bit firmware's UEFI interface||64-bit||64||8, 16, 32, 64||16|
|Compatibility mode||Bootloader or 64-bit OS||32-bit||32||8, 16, 32||8|
|16-bit protected mode||16||8, 16, 32||8|
|Legacy mode||Protected mode||Bootloader, 32-bit OS, 32-bit UEFI firmware, or the latter two interacting via the firmware's UEFI interface||32-bit||32||8, 16, 32||8|
|16-bit protected mode OS||16-bit protected mode||16||8, 16, 32[m 1]||8|
|Virtual 8086 mode||16-bit protected mode or 32-bit OS||subset of real mode||16||8, 16, 32[m 1]||8|
|Unreal mode||Bootloader or real mode OS||real mode||16, 20, 32||8, 16, 32[m 1]||8|
|Real mode||Bootloader, real mode OS, or any OS interfacing with a firmware's BIOS interface||real mode||16, 20, 21||8, 16, 32[m 1]||8|
- ↑ 1.0 1.1 1.2 1.3 Note that 16-bit code written for the 80286 and below does not use 32-bit operand instructions. Code written for the 80386 and above can use the operand-size override prefix (0x66). Normally this prefix is used by protected and long mode code for the purpose of using 16-bit operands, as that code would be running in a code segment with a default operand size of 32 bits. In real mode, the default operand size is 16 bits, so the 0x66 prefix is interpreted differently, changing operand size to 32 bits.
Long mode is the architecture's intended primary mode of operation; it is a combination of the processor's native 64-bit mode and a combined 32-bit and 16-bit compatibility mode. It is used by 64-bit operating systems. Under a 64-bit operating system, 64-bit programs run under 64-bit mode, and 32-bit and 16-bit protected mode applications (that do not need to use either real mode or virtual 8086 mode in order to execute at any time) run under compatibility mode. Real-mode programs and programs that use virtual 8086 mode at any time cannot be run in long mode unless those modes are emulated in software.:11 However, such programs may be started from an operating system running in long mode on processors supporting VT-x or AMD-V by creating a virtual processor running in the desired mode.
Since the basic instruction set is the same, there is almost no performance penalty for executing protected mode x86 code. This is unlike Intel's IA-64, where differences in the underlying instruction set mean that running 32-bit code must be done either in emulation of x86 (making the process slower) or with a dedicated x86 coprocessor. However, on the x86-64 platform, many x86 applications could benefit from a 64-bit recompile, due to the additional registers in 64-bit code and guaranteed SSE2-based FPU support, which a compiler can use for optimization. However, applications that regularly handle integers wider than 32 bits, such as cryptographic algorithms, will need a rewrite of the code handling the huge integers in order to take advantage of the 64-bit registers.
Legacy mode is the mode that the processor is in when it is not in long mode.(p14) In this mode, the processor acts like an older x86 processor, and only 16-bit and 32-bit code can be executed. Legacy mode allows for a maximum of 32 bit virtual addressing which limits the virtual address space to 4 GB.(p14)(p24)(p118) 64-bit programs cannot be run from legacy mode.
Protected mode is made into a submode of legacy mode.(p14) It is the submode that 32-bit operating systems and 16-bit protected mode operating systems operate in when running on an x86-64 CPU.(p14)
Real mode is the initial mode of operation when the processor is initialized, and is a submode of legacy mode. It is backwards compatible with the original Intel 8086 and Intel 8088 processors. Real mode is primarily used today by operating system bootloaders, which are required by the architecture to configure virtual memory details before transitioning to higher modes. This mode is also used by any operating system that needs to communicate with the system firmware with a traditional BIOS-style interface.
Intel 64 is Intel's implementation of x86-64, used and implemented in various processors made by Intel.
Historically, AMD has developed and produced processors with instruction sets patterned after Intel's original designs, but with x86-64, roles were reversed: Intel found itself in the position of adopting the ISA that AMD created as an extension to Intel's own x86 processor line.
Intel's project was originally codenamed Yamhill (after the Yamhill River in Oregon's Willamette Valley). After several years of denying its existence, Intel announced at the February 2004 IDF that the project was indeed underway. Intel's chairman at the time, Craig Barrett, admitted that this was one of their worst-kept secrets.
Intel's name for this instruction set has changed several times. The name used at the IDF was CT (presumably for Clackamas Technology, another codename from an Oregon river); within weeks they began referring to it as IA-32e (for IA-32 extensions) and in March 2004 unveiled the "official" name EM64T (Extended Memory 64 Technology). In late 2006 Intel began instead using the name Intel 64 for its implementation, paralleling AMD's use of the name AMD64.
The first processor to implement Intel 64 was the multi-socket processor Xeon code-named Nocona in June 2004. In contrast, the initial Prescott chips (February 2004) did not enable this feature. Intel subsequently began selling Intel 64-enabled Pentium 4s using the E0 revision of the Prescott core, being sold on the OEM market as the Pentium 4, model F. The E0 revision also adds eXecute Disable (XD) (Intel's name for the NX bit) to Intel 64, and has been included in then current Xeon code-named Irwindale. 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 first Intel mobile processor implementing Intel 64 is the Merom version of the Core 2 processor, which was released on July 27, 2006. None of Intel's earlier notebook CPUs (Core Duo, Pentium M, Celeron M, Mobile Pentium 4) implement Intel 64.
Intel's processors implementing the Intel64 architecture include the Pentium 4 F-series/5x1 series, 506, and 516, Celeron D models 3x1, 3x6, 355, 347, 352, 360, and 365 and all later Celerons, all models of Xeon since "Nocona", all models of Pentium Dual-Core processors since "Merom-2M", the Atom 230, 330, D410, D425, D510, D525, N450, N455, N470, N475, N550, N570, N2600 and N2800, all versions of the Pentium D, Pentium Extreme Edition, Core 2, Core i9, Core i7, Core i5, and Core i3 processors, and the Xeon Phi 7200 series processors.
VIA's x86-64 implementation
VIA Technologies introduced their first implementation of the x86-64 architecture in 2008 after five years of development by its CPU division, Centaur Technology. Codenamed "Isaiah", the 64-bit architecture was unveiled on January 24, 2008, and launched on May 29 under the VIA Nano brand name.
The processor supports a number of VIA-specific x86 extensions designed to boost efficiency in low-power appliances. It is expected that the Isaiah architecture will be twice as fast in integer performance and four times as fast in floating-point performance as the previous-generation VIA Esther at an equivalent clock speed. Power consumption is also expected to be on par with the previous-generation VIA CPUs, with thermal design power ranging from 5 W to 25 W. Being a completely new design, the Isaiah architecture was built with support for features like the x86-64 instruction set and x86 virtualization which were unavailable on its predecessors, the VIA C7 line, while retaining their encryption extensions.
In 2020, through a collaboration between AMD, Intel, Red Hat, and SUSE, three microarchitecture levels on top of the x86-64 baseline were defined: x86-64-v2, x86-64-v3, and x86-64-v4. These levels define specific features that can be targeted by programmers to provide compile-time optimizations. The features exposed by each level are as follows:
|Level||CPU features||Example instruction|
|x86-64 (also x86-64-v1)
(baseline: all x86-64 CPUs)
(circa 2009: Nehalem and Jaguar)
(circa 2015: Haswell and Excavator)
(AVX-512's general-purpose subset)
All levels include features found in the previous levels. Instruction set extensions not concerned with general-purpose computation, including AES-NI and RDRAND, are excluded from the level requirements.
Differences between AMD64 and Intel 64
Although nearly identical, there are some differences between the two instruction sets in the semantics of a few seldom used machine instructions (or situations), which are mainly used for system programming. Compilers generally produce executables (i.e. machine code) that avoid any differences, at least for ordinary application programs. This is therefore of interest mainly to developers of compilers, operating systems and similar, which must deal with individual and special system instructions.
- Intel 64's
BSRinstructions act differently than AMD64's when the source is zero and the operand size is 32 bits. The processor sets the zero flag and leaves the upper 32 bits of the destination undefined. Note that Intel documents that the destination register has an undefined value in this case, but in practice in silicon implements the same behaviour as AMD (destination unmodified). The separate claim about maybe not preserving bits in the upper 32 has not been verified, but has only been ruled out for Core 2 and Skylake, not all Intel microarchitectures like 64-bit Pentium 4 or low-power Atom.
- AMD64 requires a different microcode update format and control MSRs (model-specific registers), while Intel 64 implements microcode update unchanged from their 32-bit only processors.
- Intel 64 lacks some MSRs that are considered architectural in AMD64. These include
- Intel 64 allows
SYSRETonly in 64-bit mode (not in compatibility mode), and allows
SYSEXITin both modes. AMD64 lacks
SYSEXITin both sub-modes of long mode.:33
- In 64-bit mode, near branches with the 66H (operand size override) prefix behave differently. Intel 64 ignores this prefix: the instruction has a 32-bit sign extended offset, and instruction pointer is not truncated. AMD64 uses a 16-bit offset field in the instruction, and clears the top 48 bits of instruction pointer.
- AMD processors raise a floating-point Invalid Exception when performing an
FSTPof an 80-bit signalling NaN, while Intel processors do not.
- Intel 64 lacks the ability to save and restore a reduced (and thus faster) version of the floating-point state (involving the
- AMD processors ever since Opteron Rev. E and Athlon 64 Rev. D have reintroduced limited support for segmentation, via the Long Mode Segment Limit Enable (LMSLE) bit, to ease virtualization of 64-bit guests.
- When returning to a non-canonical address using
SYSRET, AMD64 processors execute the general protection fault handler in privilege level 3, while on Intel 64 processors it is executed in privilege level 0.
- The AMD64 processors prior to Revision F (distinguished by the switch from DDR to DDR2 memory and new sockets AM2, F and S1) of 2006 lacked the
CMPXCHG16Binstruction, which is an extension of the
CMPXCHG8Binstruction present on most post-80486 processors. Similar to
CMPXCHG16Ballows for atomic operations on octa-words (128-bit values). This is useful for parallel algorithms that use compare and swap on data larger than the size of a pointer, common in lock-free and wait-free algorithms. Without
CMPXCHG16Bone must use workarounds, such as a critical section or alternative lock-free approaches. Its absence also prevents 64-bit Windows prior to Windows 8.1 from having a user-mode address space larger than 8 TB. The 64-bit version of Windows 8.1 requires the instruction.
- Early AMD64 and Intel 64 CPUs lacked
SAHFinstructions in 64-bit mode. AMD introduced these instructions (also in 64-bit mode) with their 90 nm (revision D) processors, starting with Athlon 64 in October 2004. Intel introduced the instructions in October 2005 with the 0F47h and later revisions of NetBurst. The 64-bit version of Windows 8.1 requires this feature.
- Early Intel CPUs with Intel 64 also lack the NX bit of the AMD64 architecture. It was added in the stepping E0 (0F41h) in October 2004. This feature is required by all versions of Windows 8.
- Early Intel 64 implementations had a 36-bit (64 GB) physical addressing of memory while original AMD64 implementations had a 40-bit (1 TB) physical addressing. Intel used the 40-bit physical addressing first on Xeon MP (Potomac), launched on 29 March 2005. The difference is not a difference of the user-visible ISAs. In 2007 AMD 10h-based Opteron was the first to provide a 48-bit (256 TB) physical address space. Intel 64's physical addressing was extended to 44 bits (16 TB) in Nehalem-EX in 2010 and to 46 bits (64 TB) in Sandy Bridge E in 2011. With the Ice Lake 3rd gen Xeon Scalable processors, Intel increased the virtual addressing to 57 bits (128 PB) and physical to 52 bits (4 PB) in 2021, necessitating a 5-level paging. The following year AMD64 added the same in 4th generation EPYC (Genoa). Non-server CPUs retain smaller address spaces for longer.
In supercomputers tracked by TOP500, the appearance of 64-bit extensions for the x86 architecture enabled 64-bit x86 processors by AMD and Intel to replace most RISC processor architectures previously used in such systems (including PA-RISC, SPARC, Alpha and others), as well as 32-bit x86, even though Intel itself initially tried unsuccessfully to replace x86 with a new incompatible 64-bit architecture in the Itanium processor.
(As of 2020), a Fujitsu A64FX-based supercomputer called Fugaku is number one. The first ARM-based supercomputer appeared on the list in 2018 and, in recent years, non-CPU architecture co-processors (GPGPU) have also played a big role in performance. Intel's Xeon Phi "Knights Corner" coprocessors, which implement a subset of x86-64 with some vector extensions, are also used, along with x86-64 processors, in the Tianhe-2 supercomputer.
Operating system compatibility and characteristics
The following operating systems and releases support the x86-64 architecture in long mode.
Preliminary infrastructure work was started in February 2004 for a x86-64 port. This development later stalled. Development started again during July 2007 and continued during Google Summer of Code 2008 and SoC 2009. The first official release to contain x86-64 support was version 2.4.
FreeBSD first added x86-64 support under the name "amd64" as an experimental architecture in 5.1-RELEASE in June 2003. It was included as a standard distribution architecture as of 5.2-RELEASE in January 2004. Since then, FreeBSD has designated it as a Tier 1 platform. The 6.0-RELEASE version cleaned up some quirks with running x86 executables under amd64, and most drivers work just as they do on the x86 architecture. Work is currently being done to integrate more fully the x86 application binary interface (ABI), in the same manner as the Linux 32-bit ABI compatibility currently works.
x86-64 architecture support was first committed to the NetBSD source tree on June 19, 2001. As of NetBSD 2.0, released on December 9, 2004, NetBSD/amd64 is a fully integrated and supported port. 32-bit code is still supported in 64-bit mode, with a netbsd-32 kernel compatibility layer for 32-bit syscalls. The NX bit is used to provide non-executable stack and heap with per-page granularity (segment granularity being used on 32-bit x86).
OpenBSD has supported AMD64 since OpenBSD 3.5, released on May 1, 2004. Complete in-tree implementation of AMD64 support was achieved prior to the hardware's initial release because AMD had loaned several machines for the project's hackathon that year. OpenBSD developers have taken to the platform because of its support for 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 use of the AMD64 extensions, but since Intel left out the page table NX bit in early Intel 64 processors, there is no W^X capability on those Intel CPUs; later Intel 64 processors added the NX bit under the name "XD bit". Symmetric multiprocessing (SMP) works on OpenBSD's AMD64 port, starting with release 3.6 on November 1, 2004.
It is possible to enter long mode under DOS without a DOS extender, but the user must return to real mode in order to call BIOS or DOS interrupts.
It may also be possible to enter long mode with a DOS extender similar to DOS/4GW, but more complex since x86-64 lacks virtual 8086 mode. 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.
Linux was the first operating system kernel to run the x86-64 architecture in long mode, starting with the 2.4 version in 2001 (preceding the 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. Current Linux distributions ship with x86-64-native kernels and userlands. Some, such as Arch Linux, SUSE, Mandriva, and Debian, allow users to install a set of 32-bit components and libraries when installing off a 64-bit distribution medium, thus allowing most existing 32-bit applications to run alongside the 64-bit OS.
x32 ABI (Application Binary Interface), introduced in Linux 3.4, allows programs compiled for the x32 ABI to run in the 64-bit mode of x86-64 while only using 32-bit pointers and data fields. Though this limits the program to a virtual address space of 4 GB it also decreases the memory footprint of the program and in some cases can allow it to run faster.
64-bit Linux allows up to 128 TB of virtual address space for individual processes, and can address approximately 64 TB of physical memory, subject to processor and system limitations.
Mac OS X 10.4.7 and higher versions of Mac OS X 10.4 run 64-bit command-line tools using the POSIX and math libraries on 64-bit Intel-based machines, just as all versions of Mac OS X 10.4 and 10.5 run them on 64-bit PowerPC machines. No other libraries or frameworks work with 64-bit applications in Mac OS X 10.4. The kernel, and all kernel extensions, are 32-bit only.
Mac OS X 10.5 supports 64-bit GUI applications using Cocoa, Quartz, OpenGL, and X11 on 64-bit Intel-based machines, as well as on 64-bit PowerPC machines. All non-GUI libraries and frameworks also support 64-bit applications on those platforms. The kernel, and all kernel extensions, are 32-bit only.
Mac OS X 10.6 is the first version of macOS that supports a 64-bit kernel. However, not all 64-bit computers can run the 64-bit kernel, and not all 64-bit computers that can run the 64-bit kernel will do so by default. The 64-bit kernel, like the 32-bit kernel, supports 32-bit applications; both kernels also support 64-bit applications. 32-bit applications have a virtual address space limit of 4 GB under either kernel. The 64-bit kernel does not support 32-bit kernel extensions, and the 32-bit kernel does not support 64-bit kernel extensions.
OS X 10.8 includes only the 64-bit kernel, but continues to support 32-bit applications; it does not support 32-bit kernel extensions, however.
macOS 10.15 includes only the 64-bit kernel and no longer supports 32-bit applications. This removal of support has presented a problem for WineHQ (and the commercial version CrossOver), as it needs to still be able to run 32-bit Windows applications. The solution, termed wine32on64, was to add thunks that bring the CPU in and out of 32-bit compatibility mode in the nominally 64-bit application.
macOS uses the universal binary format to package 32- and 64-bit versions of application and library code into a single file; the most appropriate version is automatically selected at load time. In Mac OS X 10.6, the universal binary format is also used for the kernel and for those kernel extensions that support both 32-bit and 64-bit kernels.
Solaris 10 and later releases support the x86-64 architecture.
For Solaris 10, just as with the SPARC architecture, there is only one operating system image, which contains a 32-bit kernel and a 64-bit kernel; this is labeled as the "x64/x86" DVD-ROM image. The 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 will run. The
isainfo command can be used to determine if a system is running a 64-bit kernel.
For Solaris 11, only the 64-bit kernel is provided. However, the 64-bit kernel supports both 32- and 64-bit executables, libraries, and system calls.
x64 editions of Microsoft Windows client and server—Windows XP Professional x64 Edition and Windows Server 2003 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 Vista, which also has many different editions, was released in January 2007. Windows 7 was released in July 2009. Windows Server 2008 R2 was sold in only x64 and Itanium editions; later versions of Windows Server only offer an x64 edition.
Versions of Windows for x64 prior to Windows 8.1 and Windows Server 2012 R2 offer the following:
- 8 TB of virtual address space per process, accessible from both user mode and kernel mode, referred to as the user mode address space. An x64 program can use all of this, subject to backing store limits on the system, and provided it is linked with the "large address aware" option, which is present by default. This is a 4096-fold increase over the default 2 GB user-mode virtual address space offered by 32-bit Windows.
- 8 TB of kernel mode virtual address space for the operating system. As with the user mode address space, this is a 4096-fold increase over 32-bit Windows versions. The increased space primarily benefits the file system cache and kernel mode "heaps" (non-paged pool and paged pool). Windows only uses a total of 16 TB out of the 256 TB implemented by the processors because early AMD64 processors lacked a
Under Windows 8.1 and Windows Server 2012 R2, both user mode and kernel mode virtual address spaces have been extended to 128 TB. These versions of Windows will not install on processors that lack the
The following additional characteristics apply to all x64 versions of Windows:
- Ability to run existing 32-bit applications (
.exeprograms) and dynamic link libraries (
.dlls) using WoW64 if WoW64 is supported on that version. Furthermore, a 32-bit program, if it was linked with the "large address aware" option, can use up to 4 GB of virtual address space in 64-bit Windows, instead of the default 2 GB (optional 3 GB with
/3GBboot option and "large address aware" link option) offered by 32-bit Windows. Unlike the use of the
/3GBboot option on x86, this does not reduce the kernel mode virtual address space available to the operating system. 32-bit applications can, therefore, benefit from running on x64 Windows even if they are not recompiled for x86-64.
- Both 32- and 64-bit applications, if not linked with "large address aware", are limited to 2 GB of virtual address space.
- Ability to use up to 128 GB (Windows XP/Vista), 192 GB (Windows 7), 512 GB (Windows 8), 1 TB (Windows Server 2003), 2 TB (Windows Server 2008/Windows 10), 4 TB (Windows Server 2012), or 24 TB (Windows Server 2016/2019) of physical random access memory (RAM).
- LLP64 data model: in C/C++, "int" and "long" types are 32 bits wide, "long long" is 64 bits, while pointers and types derived from pointers are 64 bits wide.
- Kernel mode device drivers must be 64-bit versions; there is no way to run 32-bit kernel mode executables within the 64-bit operating system. User mode device drivers can be either 32-bit or 64-bit.
- 16-bit Windows (Win16) and DOS applications will not run on x86-64 versions of Windows due to the removal of the virtual DOS machine subsystem (NTVDM) which relied upon the ability to use virtual 8086 mode. Virtual 8086 mode cannot be entered while running in long mode.
- 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.
- Instead of FS segment descriptor on x86 versions of the Windows NT family, GS segment descriptor is used to point to two operating system defined structures: Thread Information Block (NT_TIB) in user mode and Processor Control Region (KPCR) in kernel mode. Thus, for example, in user mode
GS:0is the address of the first member of the Thread Information Block. Maintaining this convention made the x86-64 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 (a limitation that exists in the 32-bit version as well). The most recent documentation available from Microsoft states that the x87/MMX/3DNow! instructions may be used in long mode, but that they are deprecated and may cause compatibility problems in the future. (3DNow! is no longer available on AMD processors, with the exception of the
PREFETCHWinstructions, which are also supported on Intel processors as of Broadwell.)
- Some components like Jet Database Engine and Data Access Objects will not be ported to 64-bit architectures such as x86-64 and IA-64.
- Microsoft Visual Studio can compile native applications to target either the x86-64 architecture, which can run only on 64-bit Microsoft Windows, or the IA-32 architecture, which can run as a 32-bit application on 32-bit Microsoft Windows or 64-bit Microsoft Windows in WoW64 emulation mode. Managed applications can be compiled either in IA-32, x86-64 or AnyCPU modes. Software created in the first two modes behave like their IA-32 or x86-64 native code counterparts respectively; When using the AnyCPU mode, however, applications in 32-bit versions of Microsoft Windows run as 32-bit applications, while they run as a 64-bit application in 64-bit editions of Microsoft Windows.
Video game consoles
Both the PlayStation 4 and Xbox One, and all variants of those consoles, incorporate AMD x86-64 processors, based on the Jaguar microarchitecture. Firmware and games are written in x86-64 code; no legacy x86 code is involved.
Their next generations, the PlayStation 5 and the Xbox Series X and Series S respectively, also incorporate AMD x86-64 processors, based on the Zen 2 microarchitecture.
Although considered a PC, the Steam Deck uses a custom AMD x86-64 accelerated processing unit (APU), based on the Zen 2 microarchitecture.
Industry naming conventions
Since AMD64 and Intel 64 are substantially similar, many software and hardware products use one vendor-neutral term to indicate their compatibility with both implementations. AMD's original designation for this processor architecture, "x86-64", is still sometimes used for this purpose, as is the variant "x86_64". Other companies, such as Microsoft and Sun Microsystems/Oracle Corporation, use the contraction "x64" in marketing material.
The term IA-64 refers to the Itanium processor, and should not be confused with x86-64, as it is a completely different instruction set.
Many operating systems and products, especially those that introduced x86-64 support prior to Intel's entry into the market, use the term "AMD64" or "amd64" to refer to both AMD64 and Intel 64.
- Most BSD systems such as FreeBSD, MidnightBSD, NetBSD and OpenBSD refer to both AMD64 and Intel 64 under the architecture name "amd64".
- Some Linux distributions such as Debian, Ubuntu, Gentoo Linux refer to both AMD64 and Intel 64 under the architecture name "amd64".
- Microsoft Windows's x64 versions use the AMD64 moniker internally to designate various components which use or are compatible with this architecture. For example, the environment variable PROCESSOR_ARCHITECTURE is assigned the value "AMD64" as opposed to "x86" in 32-bit versions, and the system directory on a Windows x64 Edition installation CD-ROM is named "AMD64", in contrast to "i386" in 32-bit versions.
- Sun's Solaris's isalist command identifies both AMD64- and Intel 64-based systems as "amd64".
- Java Development Kit (JDK): the name "amd64" is used in directory names containing x86-64 files.
- The Linux kernel and the GNU Compiler Collection refers to 64-bit architecture as "x86_64".
- Some Linux distributions, such as Fedora, openSUSE, Arch Linux, Gentoo Linux refer to this 64-bit architecture as "x86_64".
- Apple macOS refers to 64-bit architecture as "x86-64" or "x86_64", as seen in the Terminal command
arch and in their developer documentation.
- Breaking with most other BSD systems, DragonFly BSD refers to 64-bit architecture as "x86_64".
- Haiku refers to 64-bit architecture as "x86_64".
x86-64/AMD64 was solely developed by AMD. AMD holds patents on techniques used in AMD64; those patents must be licensed from AMD in order to implement AMD64. Intel entered into a cross-licensing agreement with AMD, licensing to AMD their patents on existing x86 techniques, and licensing from AMD their patents on techniques used in x86-64. In 2009, AMD and Intel settled several lawsuits and cross-licensing disagreements, extending their cross-licensing agreements.
- AMD Generic Encapsulated Software Architecture (AGESA)
- Transient execution CPU vulnerability
- ↑ Various names are used for the instruction set. Prior to the launch, x86-64 and x86_64 were used, while upon the release AMD named it AMD64. Intel initially used the names IA-32e and EM64T before finally settling on "Intel 64" for its implementation. Some in the industry, including Apple, use x86-64 and x86_64, while others, notably Sun Microsystems (now Oracle Corporation) and Microsoft, use x64. The BSD family of OSs and several Linux distributions use AMD64, as does Microsoft Windows internally.
- ↑ In practice, 64-bit operating systems generally do not support 16-bit applications, although modern versions of Microsoft Windows contain a limited workaround that effectively supports 16-bit InstallShield and Microsoft ACME installers by silently substituting them with 32-bit code.
- ↑ The Register reported that the stepping G1 (0F49h) of Pentium 4 will sample on October 17 and ship in volume on November 14. However, Intel's document says that samples are available on September 9, whereas October 17 is the "date of first availability of post-conversion material", which Intel defines as "the projected date that a customer may expect to receive the post-conversion materials. ... customers should be prepared to receive the post-converted materials on this date".
- ↑ "Debian AMD64 FAQ". Debian Wiki. http://wiki.debian.org/DebianAMD64Faq.
- ↑ 2.0 2.1 2.2 "x86-64 Code Model". Apple. https://developer.apple.com/library/mac/#documentation/developertools/Conceptual/MachOTopics/1-Articles/x86_64_code.html.
- ↑ 3.0 3.1 3.2
arch(1)– Darwin and macOS General Commands Manual
- ↑ 4.0 4.1 4.2 Kevin Van Vechten (August 9, 2006). "re: Intel XNU bug report". Darwin-dev mailing list. Apple Computer. http://lists.apple.com/archives/Darwin-dev/2006/Aug/msg00095.html. "The kernel and developer tools have standardized on "x86_64" for the name of the Mach-O architecture"
- ↑ 5.0 5.1 "Solaris 10 on AMD Opteron". Oracle. http://www.oracle.com/technetwork/server-storage/solaris/overview/solaris10amdopteron-jsp-140575.html.
- ↑ 6.0 6.1 "Microsoft 64-Bit Computing". Microsoft. http://www.microsoft.com/windowsserver2008/en/us/64bit-computing.aspx.
- ↑ "AMD64 Port". Debian. http://www.debian.org/ports/amd64/.
- ↑ "Gentoo/AMD64 Project". Gentoo Project. http://www.gentoo.org/proj/en/base/amd64/.
- ↑ "WOW64 Implementation Details". https://msdn.microsoft.com/en-us/library/windows/desktop/aa384274(v=vs.85).aspx.
- ↑ "ProcessorArchitecture Class". https://msdn.microsoft.com/en-us/library/microsoft.build.utilities.processorarchitecture.aspx.
- ↑ 11.00 11.01 11.02 11.03 11.04 11.05 11.06 11.07 11.08 11.09 11.10 11.11 11.12 11.13 11.14 11.15 11.16 11.17 11.18 11.19 11.20 AMD Corporation (December 2016). "Volume 2: System Programming". AMD64 Architecture Programmer's Manual. AMD Corporation. http://support.amd.com/TechDocs/24593.pdf.
- ↑ Raymond Chen (October 31, 2013). "If there is no 16-bit emulation layer in 64-bit Windows, how come certain 16-bit installers are allowed to run?". https://devblogs.microsoft.com/oldnewthing/20131031-00/?p=2783.
- ↑ IBM Corporation (September 6, 2007). "IBM WebSphere Application Server 64-bit Performance Demystified". p. 14. ftp://ftp.software.ibm.com/software/webserver/appserv/was/64bitPerf.pdf. ""Figures 5, 6 and 7 also show the 32-bit version of WAS runs applications at full native hardware performance on the POWER and x86-64 platforms. Unlike some 64-bit processor architectures, the POWER and x86-64 hardware does not emulate 32-bit mode. Therefore applications that do not benefit from 64-bit features can run with full performance on the 32-bit version of WebSphere running on the above mentioned 64-bit platforms.""
- ↑ "AMD Discloses New Technologies At Microporcessor Forum" (Press release). AMD. October 5, 1999. Archived from the original on March 8, 2012. Retrieved November 9, 2010.
- ↑ "AMD Releases x86-64 Architectural Specification; Enables Market Driven Migration to 64-Bit Computing" (Press release). AMD. August 10, 2000. Archived from the original on March 8, 2012. Retrieved November 9, 2010.
- ↑ Mauerer, W. (2010). Professional Linux kernel architecture. John Wiley & Sons.
- ↑ "Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 3A: System Programming Guide, Part 1". pp. 4–7. http://www.intel.com/Assets/PDF/manual/253668.pdf.
- ↑ 18.0 18.1 "BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors". p. 24. http://developer.amd.com/wordpress/media/2012/10/31116.pdf. "Physical address space increased to 48 bits."
- ↑ "Myth and facts about 64-bit Linux". March 2, 2008. p. 7. http://www.amd64.org/fileadmin/user_upload/pub/64bit_Linux-Myths_and_Facts.pdf. "Physical address space increased to 48 bits"
- ↑ Shanley, Tom (1998). Pentium Pro and Pentium II System Architecture. PC System Architecture Series (Second ed.). Addison-Wesley. p. 445. ISBN 0-201-30973-4. https://archive.org/details/pentiumpropentiu00shan/page/445.
- ↑ Microsoft Corporation. "What is PAE, NX, and SSE2 and why does my PC need to support them to run Windows 8 ?". http://windows.microsoft.com/en-GB/windows-8/what-is-pae-nx-sse2.
- ↑ 22.0 22.1 22.2 22.3 "Memory Limits for Windows Releases". Microsoft. November 16, 2013. http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx#memory_limits.
- ↑ "5-Level Paging and 5-Level EPT". Intel. May 2017. https://software.intel.com/sites/default/files/managed/2b/80/5-level_paging_white_paper.pdf.
- ↑ "64KB page system that supports 4KB page operation" US patent 9858198, published 2016-12-29, issued 2018-01-02, assigned to Intel Corp.
- ↑ "Opteron 6100 Series Motherboards". Supermicro Corporation. http://www.supermicro.com/Aplus/motherboard/Opteron6100/.
- ↑ "Supermicro XeonSolutions". Supermicro Corporation. http://www.supermicro.com/products/motherboard/Xeon1333/#1366.
- ↑ "Opteron 8000 Series Motherboards". Supermicro Corporation. http://www.supermicro.com/Aplus/motherboard/Opteron8000/.
- ↑ "Tyan Product Matrix". MiTEC International Corporation. http://www.supermicro.com/products/motherboard/Core/index.cfm#1366.
- ↑ 29.0 29.1 "From the AMI Archives: AMIBIOS 8 and the Transition to EFI". American Megatrends. September 8, 2017. https://www.ami.com/tech-blog/from-the-ami-archives-amibios-8-and-the-transition-to-efi/.
- ↑ "Intel is Continuing the Yamhill Project?" (in en). Neowin. https://www.neowin.net/news/intel-is-continuing-the-yamhill-project/.
- ↑ "Craig Barrett confirms 64 bit address extensions for Xeon. And Prescott.". The Inquirer. February 17, 2004. https://www.theinquirer.net/inquirer/news/1042795/craig-barrett-confirms-bit-address-extensions-xeon-and-prescott.
- ↑ ""A Roundup of 64-Bit Computing", from internetnews.com". http://www.internetnews.com/ent-news/article.php/3518781.
- ↑ Lapedus, Mark. "Intel to demo 'CT' 64-bit processor line at IDF". AspenCore Media. https://www.edn.com/intel-to-demo-ct-64-bit-processor-line-at-idf/.
- ↑ "Intel 64 Architecture". Intel. http://www.intel.com/technology/intel64/index.htm.
- ↑ "VIA to launch new processor architecture in 1Q08" (subscription required). DigiTimes. http://www.digitimes.com/news/a20070725PD206.html.
- ↑ Stokes, Jon (January 23, 2008). "Isaiah revealed: VIA's new low-power architecture". Ars Technica. https://arstechnica.com/articles/paedia/cpu/via-cpu-isaiah.ars.
- ↑ "VIA Launches VIA Nano Processor Family" (Press release). VIA. May 29, 2008. Archived from the original on February 3, 2019. Retrieved May 25, 2017.
- ↑ "VIA Isaiah Architecture Introduction". VIA. January 23, 2008. http://www.via.com.tw/en/downloads/presentations/processors/pb_via-isaiah_080124.pdf.
- ↑ Weimer, Florian (10 July 2020). "New x86-64 micro-architecture levels". llvm-dev (Mailing list). Archived from the original on April 14, 2021. Retrieved March 11, 2021.
- ↑ Weimer, Florian (5 January 2021). "Building Red Hat Enterprise Linux 9 for the x86-64-v2 microarchitecture level". Red Hat developer blog. https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level.
- ↑ "System V Application Binary Interface Low Level System Information". 29 January 2021. https://gitlab.com/x86-psABIs/x86-64-ABI/-/blob/master/x86-64-ABI/low-level-sys-info.tex.
- ↑ "QEMU version 7.2.0 released - QEMU". https://www.qemu.org/2022/12/14/qemu-7-2-0/.
- ↑ "ChangeLog/7.2 - QEMU". https://wiki.qemu.org/ChangeLog/7.2#TCG.
- ↑ Wasson, Scott (March 23, 2005). "64-bit computing in theory and practice". The Tech Report. The Tech Report. http://techreport.com/articles.x/8131/1.
- ↑ "Discussion on Stack Overflow". March 2021. https://stackoverflow.com/questions/66416287/in-x86-64-does-a-32-bit-cmov-clear-the-top-bits-if-the-condition-is-false/66416462#comment117465925_66416462.
- ↑ "Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2 (2A, 2B & 2C): Instruction Set Reference, A–Z". Intel. September 2013. pp. 4–397. http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf.
- ↑ "Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2 (2A, 2B & 2C): Instruction Set Reference, A-Z". Intel. September 2013. pp. 4–400. http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf.
- ↑ "How retiring segmentation in AMD64 long mode broke VMware". Pagetable.com. November 9, 2006. http://www.pagetable.com/?p=25.
- ↑ "VMware and CPU Virtualization Technology". VMware. http://download3.vmware.com/vmworld/2005/pac346.pdf.
- ↑ "AMD64 Architecture Programmer's Manual Volume 3: General-Purpose and System Instructions". AMD. May 2018. p. 419. https://support.amd.com/TechDocs/24594.pdf.
- ↑ "Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2 (2A, 2B & 2C): Instruction Set Reference, A-Z". Intel. September 2014. pp. 4–412. http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf.
- ↑ "Live Migration with AMD-V™ Extended Migration Technology". http://developer.amd.com/wordpress/media/2012/10/43781-3.00-PUB_Live-Virtual-Machine-Migration-on-AMD-processors.pdf.
- ↑ Maged M. Michael. "Practical Lock-Free and Wait-Free LL/SC/VL Implementations Using 64-Bit CAS". IBM. http://www.research.ibm.com/people/m/michael/disc-2004.pdf.
- ↑ darwou (August 20, 2004). "Why is the virtual address space 4GB anyway?". Microsoft. https://blogs.msdn.microsoft.com/oldnewthing/20040817-00/?p=38153#comment-204583.
- ↑ 55.0 55.1 "System Requirements—Windows 8.1". http://windows.microsoft.com/en-us/windows-8/system-requirements. "To install a 64-bit OS on a 64-bit PC, your processor needs to support CMPXCHG16b, PrefetchW, and LAHF/SAHF."
- ↑ Petkov, Borislav (10 August 2009). "Re: [PATCH v2 x86: clear incorrectly forced X86_FEATURE_LAHF_LM flag"]. https://lkml.org/lkml/2009/8/10/159.
- ↑ "Revision Guide for AMD Athlon 64 and AMD Opteron Processors". AMD. http://support.amd.com/us/Processor_TechDocs/25759.pdf.
- ↑ "Product Change Notification 105224 - 01". Intel. http://developer.intel.com/design/pcn/Processors/D0105224.pdf.
- ↑ "Intel® Pentium® D Processor 800 Sequence and Intel® Pentium® Processor Extreme Edition 840 Specification Update". https://www.intel.com/Assets/PDF/specupdate/306832.pdf.
- ↑ "Intel Xeon 2.8 GHz - NE80551KG0724MM / BX80551KG2800HA". https://www.cpu-world.com/CPUs/Xeon/Intel-Xeon%202.8%20GHz%20-%20NE80551KG0724MM%20(BX80551KG2800HA).html.
- ↑ Smith, Tony (23 August 2005). "Intel tweaks EM64T for full AMD64 compatibility". https://www.theregister.com/2005/08/23/intel_fixes_em64t/.
- ↑ "Product Change Notification 105271 – 00". Intel. http://developer.intel.com/design/pcn/Processors/D0105271.pdf.
- ↑ 0F47h debuted in the B0 stepping of Pentium D on October 21, but 0F48h which also supports LAHF/SAHF launched on October 10 in the dual-core Xeon.[lower-alpha 1]
- ↑ "Product Change Notification 104101 – 00". Intel. http://developer.intel.com/design/pcn/Processors/D0104101.pdf.
- ↑ "64-bit Intel® Xeon™ Processor MP with up to 8MB L3 Cache Datasheet". https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/64-bit-xeon-mp-8mb-l3-cache-datasheet.pdf.
- ↑ "Justin Boggs's at Microsoft PDC 2008". p. 5. https://zbook.org/read/70903_justin-boggs-isv-engineering-developer-relations-manager.html.
- ↑ Waldecker, Brian. "AMD Opteron Multicore Processors". p. 13. https://www.nersc.gov/assets/Uploads/AMDMultiCoreCrayNersc020110.pdf.
- ↑ "Intel® Xeon® Processor 7500 Series Datasheet, Volume 2". https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-processor-7500-series-vol-2-datasheet.pdf.
- ↑ "Intel 64 and IA-32 Architectures Software Developer's Manual". September 2014. p. 2-21. http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-manual-325462.html. "Intel 64 architecture increases the linear address space for software to 64 bits and supports physical address space up to 46 bits."
- ↑ Logan, Tom (14 November 2011). "Intel Core i7-3960X Review". https://overclock3d.net/reviews/cpu_mainboard/intel_core_i7-3960x_review/2.
- ↑ Ye, Huaisheng. "Introduction to 5-Level Paging in 3rd Gen Intel Xeon Scalable Processors with Linux". Lenovo. https://lenovopress.lenovo.com/lp1468.pdf.
- ↑ Kennedy, Patrick (November 10, 2022). "AMD EPYC Genoa Gaps Intel Xeon in Stunning Fashion". p. 2. https://www.servethehome.com/amd-epyc-genoa-gaps-intel-xeon-in-stunning-fashion/2/.
- ↑ "Statistics | TOP500 Supercomputer Sites". Top500.org. http://www.top500.org/statistics.
- ↑ "Sublist Generator | TOP500 Supercomputer Sites". https://www.top500.org/statistics/sublist/.
- ↑ "Intel® Xeon PhiTM Coprocessor Instruction Set Architecture Reference Manual". Intel. September 7, 2012. section B.2 Intel Xeon Phi coprocessor 64 bit Mode Limitations. https://software.intel.com/sites/default/files/forum/278102/327364001en.pdf.
- ↑ "Intel Powers the World's Fastest Supercomputer, Reveals New and Future High Performance Computing Technologies". http://newsroom.intel.com/community/intel_newsroom/blog/2013/06/17/intel-powers-the-worlds-fastest-supercomputer-reveals-new-and-future-high-performance-computing-technologies.
- ↑ "cvs commit: src/sys/amd64/amd64 genassym.c src/sys/amd64/include asm.h atomic.h bootinfo.h coredump.h cpufunc.h elf.h endian.h exec.h float.h fpu.h frame.h globaldata.h ieeefp.h limits.h lock.h md_var.h param.h pcb.h pcb_ext.h pmap.h proc.h profile.h psl.h ...". http://leaf.dragonflybsd.org/mailarchive/commits/2004-02/msg00011.html.
- ↑ "AMD64 port". http://leaf.dragonflybsd.org/mailarchive/users/2007-07/msg00016.html.
- ↑ "DragonFlyBSD: GoogleSoC2008". http://www.dragonflybsd.org/docs/developer/GoogleSoC2008/.
- ↑ "Summer of Code accepted students". http://leaf.dragonflybsd.org/mailarchive/users/2009-04/msg00091.html.
- ↑ "DragonFlyBSD: release24". http://www.dragonflybsd.org/release24/.
- ↑ "Tutorial for entering protected and long mode from DOS". http://www.turboirc.com/asm.
- ↑ Andi Kleen (June 26, 2001). "Porting Linux to x86-64". http://www.x86-64.org/pipermail/announce/2001-June/000020.html. "Status: The kernel, compiler, tool chain work. The kernel boots and work on simulator and is used for porting of userland and running programs"
- ↑ Andi Kleen. "Andi Kleen's Page". http://www.halobates.de/. "This was the original paper describing the Linux x86-64 kernel port back when x86-64 was only available on simulators."
- ↑ "Arch64 FAQ". April 23, 2012. https://wiki.archlinux.org/index.php/Arch64_FAQ. "You can either use the multilib packages or a i686 chroot."
- ↑ 86.0 86.1 Thorsten Leemhuis (September 13, 2011). "Kernel Log: x32 ABI gets around 64-bit drawbacks". www.h-online.com. http://www.h-online.com/open/features/Kernel-Log-x32-ABI-gets-around-64-bit-drawbacks-1342061.html.
- ↑ 87.0 87.1 "x32 - a native 32-bit ABI for x86-64". linuxplumbersconf.org. http://linuxplumbersconf.org/2011/ocw/sessions/531.
- ↑ 88.0 88.1 "x32-abi". Google Sites. http://sites.google.com/site/x32abi/.
- ↑ "AMD64 Port". debian.org. http://www.debian.org/ports/amd64/.
- ↑ "Apple – Mac OS X Xcode 2.4 Release Notes: Compiler Tools". Apple Inc.. April 11, 2007. https://developer.apple.com/releasenotes/DeveloperTools/RN-CompilerTools/index.html.
- ↑ "Apple – Mac OS X Leopard – Technology - 64-bit". Apple Inc.. https://www.apple.com/macosx/technology/64bit.html.
- ↑ "Mac OS X v10.6: Macs that use the 64-bit kernel". Apple Inc.. http://support.apple.com/kb/HT3770.
- ↑ John Siracusa. "Mac OS X 10.6 Snow Leopard: the Ars Technica review". Ars Technica LLC. https://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/5.
- ↑ "Mac OS X Technology". Apple Inc.. https://www.apple.com/macosx/technology/#sixtyfourbit.
- ↑ "So We Don't Have a Solution for Catalina...Yet" (in en). https://www.codeweavers.com/blog/jschmid/2019/9/10/so-we-dont-have-a-solution-for-catalinayet.
- ↑ Thomases, Ken (December 11, 2019). "win32 on macOS". https://www.winehq.org/pipermail/wine-devel/2019-December/156602.html.
- ↑ "Microsoft Raises the Speed Limit with the Availability of 64-Bit Editions of Windows Server 2003 and Windows XP Professional | News Center". http://news.microsoft.com/2005/04/25/microsoft-raises-the-speed-limit-with-the-availability-of-64-bit-editions-of-windows-server-2003-and-windows-xp-professional/#sm.0000kw91cdgntf2kwp82ed9a9yn4e.
- ↑ "A description of the x64-based versions of Windows Server 2003 and of Windows XP Professional x64 Edition". https://support.microsoft.com/en-gb/kb/888733.
- ↑ "Windows Server 2003 SP1 Administration Tools Pack". https://www.microsoft.com/en-us/download/details.aspx?id=3725.
- ↑ 100.0 100.1 "/LARGEADDRESSAWARE (Handle Large Addresses)". Visual Studio 2022 Documentation – MSVC Linker Reference – MSVC Linker Options. Microsoft. https://learn.microsoft.com/en-us/cpp/build/reference/largeaddressaware-handle-large-addresses?view=msvc-170. "The /LARGEADDRESSAWARE option tells the linker that the application can handle addresses larger than 2 gigabytes."
- ↑ 101.0 101.1 101.2 Matt Pietrek (May 2006). "Everything You Need To Know To Start Programming 64-Bit Windows Systems". Microsoft. http://msdn.microsoft.com/en-us/magazine/cc300794.aspx.
- ↑ Chris St. Amand (January 2006). "Making the Move to x64". Microsoft. https://technet.microsoft.com/en-us/magazine/2006.01.insidemscom.aspx.
- ↑ "Behind Windows x86-64's 44-bit Virtual Memory Addressing Limit". http://www.alex-ionescu.com/?p=50.
- ↑ 104.0 104.1 "64-bit programming for Game Developers". http://msdn.microsoft.com/en-us/library/ee418798(VS.85).aspx#Porting_to_64bit.
- ↑ "Memory Limits for Windows Releases". Microsoft. http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx.
- ↑ Kingsley-Hughes, Adrian (August 23, 2010). "AMD says goodbye to 3DNow! instruction set". ZDNet. https://www.zdnet.com/article/amd-says-goodbye-to-3dnow-instruction-set/.
- ↑ "General Porting Guidelines". https://docs.microsoft.com/en-us/windows/win32/winprog64/general-porting-guidelines.
- ↑ "Driver history for Microsoft SQL Server". https://docs.microsoft.com/en-us/sql/connect/connect-history.
- ↑ "Microsoft OLE DB Provider for Jet and Jet ODBC driver are available in 32-bit versions only". https://docs.microsoft.com/en-US/office/troubleshoot/access/jet-odbc-driver-available-32-bit-version.
- ↑ Anand Lal Shimpi (May 21, 2013). "The Xbox One: Hardware Analysis & Comparison to PlayStation 4". Anandtech. http://www.anandtech.com/show/6972/xbox-one-hardware-compared-to-playstation-4/2.
- ↑ "The Tech Spec Test: Xbox One Vs. PlayStation 4". Game Informer. May 21, 2013. http://www.gameinformer.com/b/news/archive/2013/05/21/the-tech-spec-test-xbox-one-vs-playstation-4.aspx.
- ↑ "What to expect from Sony 'PlayStation 5' launch in November" (in en). 2020-08-31. https://indianexpress.com/article/technology/gaming/sony-playstation-5-might-launch-on-november-13-6577207/.
- ↑ Cutress, Dr Ian. "Hot Chips 2020 Live Blog: Microsoft Xbox Series X System Architecture (6:00pm PT)". https://www.anandtech.com/show/15994/hot-chips-2020-live-blog-microsoft-xbox-series-x-system-architecture-600pm-pt.
- ↑ Hollister, Sean (November 12, 2021). "Steam Deck: Five big things we learned from Valve's developer summit". The Verge. https://www.theverge.com/22779252/steam-deck-things-we-learned-from-valve-developer-summit. Retrieved November 12, 2021.
- ↑ "ProcessorArchitecture Fields". http://msdn.microsoft.com/en-us/library/microsoft.build.utilities.processorarchitecture_fields.aspx.
- ↑ "An example file from Linux 3.7.8 kernel source tree displaying the usage of the term x86_64". http://lxr.linux.no/#linux+v3.7.8/arch/x86/configs/x86_64_defconfig.
- ↑ US patent 6877084
- ↑ US patent 6889312
- ↑ US patent 6732258
- ↑ "Patent Cross License Agreement Between AMD and Intel". January 1, 2001. http://contracts.corporate.findlaw.com/agreements/amd/intel.license.2001.01.01.html.
- ↑ "AMD Intel Settlement Agreement". https://www.sec.gov/Archives/edgar/data/2488/000119312509236705/dex101.htm.
- ↑ Stephen Shankland and Jonathan E. Skillings (November 12, 2009). "Intel to pay AMD $1.25 billion in antitrust settlement". CNET. http://news.cnet.com/8301-1001_3-10396188-92.html.
- ↑ Smith, Ryan (November 12, 2009). "AMD and Intel Settle Their Differences: AMD Gets To Go Fabless". http://www.anandtech.com/show/2873.
- AMD Developer Guides, Manuals & ISA Documents
- x86-64: Extending the x86 architecture to 64-bits – technical talk by the architect of AMD64 (video archive), and second talk by the same speaker (video archive)
- 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. An excellent paper explaining almost all practical aspects for a transition from 32-bit to 64-bit.
- Intel 64 Architecture
- Intel Software Network: "64 bits"
- TurboIRC.COM tutorials, including examples of how to of enter protected and long mode the raw way from DOS
- Seven Steps of Migrating a Program to a 64-bit System
- Memory Limits for Windows Releases
Original source: https://en.wikipedia.org/wiki/X86-64. Read more