X86-64

x86-64 (also known as AMD64, x86_64, x64 and, rarely, Intel 64) is a 64-bit extension of the x86 instruction set.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 8 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

x86-64 (also known as AMD64, x86_64, x64 and, rarely, Intel 64) is a 64-bit extension of the x86 instruction set. It was announced in 1999 and first available in the AMD Opteron family in 2003. It introduces two new operating modes: 64-bit mode and compatibility mode, along with a new four-level paging mechanism.

In 64-bit mode, x86-64 supports significantly larger amounts of virtual and physical memory compared to its 32-bit predecessors, allowing computer programs to utilize more memory. The architecture increases the number of general-purpose registers from 8 to 16, and extends each of the register's width (capacity) to 64 bits.

Floating-point arithmetic is supported through mandatory SSE2 instructions in 64-bit mode. While registers for older floating-point implementations—the x87 and MMX—are still available, they are generally superseded by 128-bit vector registers for the SSE instruction set.

These vector registers are capable of storing two double-precision, or up to four single-precision floating-point numbers, along with various integer formats. In 64-bit mode, instructions are modified to support 64-bit operands and 64-bit addressing mode.

The x86-64 architecture defines a compatibility mode that allows 16-bit and 32-bit user applications to run unmodified alongside 64-bit applications, provided the 64-bit operating system supports them.…

x86-64 (also known as AMD64, x86_64, x64 and, rarely, Intel 64) is a 64-bit extension of the x86 instruction set. It was announced in 1999 and first available in the AMD Opteron family in 2003. It introduces two new operating modes: 64-bit mode and compatibility mode, along with a new four-level paging mechanism.

In 64-bit mode, x86-64 supports significantly larger amounts of virtual and physical memory compared to its 32-bit predecessors, allowing computer programs to utilize more memory. The architecture increases the number of general-purpose registers from 8 to 16, and extends each of the register's width (capacity) to 64 bits.

Floating-point arithmetic is supported through mandatory SSE2 instructions in 64-bit mode. While registers for older floating-point implementations—the x87 and MMX—are still available, they are generally superseded by 128-bit vector registers for the SSE instruction set.

These vector registers are capable of storing two double-precision, or up to four single-precision floating-point numbers, along with various integer formats. In 64-bit mode, instructions are modified to support 64-bit operands and 64-bit addressing mode.

The x86-64 architecture defines a compatibility mode that allows 16-bit and 32-bit user applications to run unmodified alongside 64-bit applications, provided the 64-bit operating system supports them. Since the full x86-32 instruction sets remain implemented in hardware without the need for 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, processors supporting x86-64 still power on in real mode to maintain backward compatibility with the original 8086 processor, as has been the case with x86 processors since the introduction of protected mode with the 80286. The original specification, created by AMD and released in 20001, 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 Isaiah microarchitecture, with the VIA Nano. The x86-64 architecture was quickly adopted for desktop and laptop personal computers and servers which were commonly configured for 16 GiB (gibibytes) of memory or more.

It has effectively replaced the discontinued Intel Itanium architecture (formerly IA-64), which was originally intended to replace the x86 architecture. x86-64 and Itanium are not compatible on the native instruction set level, and operating systems and applications compiled for one architecture cannot be run on the other natively. In October 2024, the x86 Ecosystem Advisory Group was formed jointly by Intel and AMD.

Goals included the enhancement of software consistency and standardizing x86 interfaces and features.

Operating modes

The architecture has two primary modes of operation: long mode and legacy mode. Subdirectories of glibc-hwcaps directories, in priority order: x86-64-v4 x86-64-v3 (supported, searched) x86-64-v2 (supported, searched) Here x86-64-v4 feature level is not supported by CPU, but x86-64-v3 and x86-64-v2 are, which means this CPU does not support AVX512 required at v4 level.

If the RDRAND instruction fails to obtain a random number (as indicated by EFLAGS.CF=0 ), the destination register is architecturally guaranteed to be set to 0 on Intel 64 but not AMD64. For the VPINSRD and VPEXTRD (AVX vector lane insert/extract) instructions outside 64-bit mode, AMD64 requires the instructions to be encoded with VEX.W=0 , while Intel 64 also accepts encodings with VEX.W=1 .

(In 64-bit mode, both AMD64 and Intel 64 require VEX.W=0 .) When alignment checking is enabled ( EFLAGS.AC=1 ), AVX instructions with misaligned 128-bit or 256-bit memory operands, and the SSE4.2 PCMP*STR* instructions with misaligned 128-bit memory operands, will cause #AC (alignment check) exceptions on AMD64 but not Intel 64.

The 0F 0D /r opcode with the ModR/M byte's Mod field set to 11b is a Reserved-NOP on Intel 64 but will cause #UD (invalid-opcode exception) on AMD64. The ordering guarantees provided by some memory ordering instructions such as LFENCE and MFENCE differ between Intel 64 and AMD64: LFENCE is dispatch-serializing (enabling it to be used as a speculation fence) on Intel 64 but is not architecturally guaranteed to be dispatch-serializing on AMD64.

MFENCE is a fully serializing instruction (including instruction fetch serialization) on AMD64 but not Intel 64. The MOV to CR8 and INVPCID instructions are serializing on AMD64 but not Intel 64. The LMSW instruction is serializing on Intel 64 but not AMD64.

WRMSR to the x2APIC ICR (Interrupt Command Register; MSR 830h ) is commonly used to produce an IPI (Inter-processor interrupt) — on Intel 64 but not AMD64 CPUs, such an IPI can be reordered before an older memory store. On recent AMD64 processors (Zen 4 and later), WRMSR to the FS_BASE , GS_BASE and KernelGSBase MSRs is non-serializing.

On Intel 64 processors as well as older AMD64 processors, WRMSR to these MSRs is serializing. AMD APM Architecture Programmer's Manual – various PDFs Intel SDM Software Developer's Manual – various PDFs The world's leading source for technical x86 processor information. – sandpile.org 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) x86 Ecosystem Advisory Group, a joint group between AMD and Intel 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 at GCC Summit 2003; provides an overview of many practical aspects for the 32-to-64-bit transition 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

Text derived from https://en.wikipedia.org/w/index.php?oldid=1375676848 under CC BY-SA 4.0; modifications have been made.

References

  1. ↩Wikipedia “X86-64” revision 1375676848 · retrieved 2026-10-20 release date (×1) · confidence 0.95 revision URL