Intel ADX (Multi-Precision Add-Carry Instruction Extensions) is
Intel
Intel Corporation is an American multinational corporation and technology company headquartered in Santa Clara, California. It is the world's largest semiconductor chip manufacturer by revenue, and is one of the developers of the x86 seri ...
's
arbitrary-precision arithmetic
In computer science, arbitrary-precision arithmetic, also called bignum arithmetic, multiple-precision arithmetic, or sometimes infinite-precision arithmetic, indicates that calculations are performed on numbers whose digits of precision are li ...
extension to the
x86
x86 (also known as 80x86 or the 8086 family) is a family of complex instruction set computer (CISC) instruction set architectures initially developed by Intel based on the Intel 8086 microprocessor and its 8088 variant. The 8086 was intr ...
instruction set architecture (ISA). Intel ADX was first supported in the
Broadwell microarchitecture.
Intel Architecture Instruction Set Extensions Programming Reference
(Document number 319433-013B) // Intel, July 2012, Chapter 9: Additional new instructions
The instruction set extension contains just two new instructions, though MULX
from BMI2
Bit manipulation instructions sets (BMI sets) are extensions to the x86 instruction set architecture for microprocessors from Intel and AMD. The purpose of these instruction sets is to improve the speed of bit manipulation. All the instruction ...
is also considered as a part of the large integer arithmetic support.
Both instructions are more efficient variants of the existing ADC
instruction, with the difference that each of the two new instructions affects only one flag, where ADC
as a signed addition may set both overflow and carry flags, and as an old-style x86 instruction also reset the rest of the CPU flags. Having two versions affecting different flags means that two chains of additions with carry can be calculated in parallel.
AMD added support in their processors for these instructions starting with Ryzen
Ryzen ( ) is a brand of multi-core x86-64 microprocessors designed and marketed by AMD for desktop, mobile, server, and embedded platforms based on the Zen microarchitecture. It consists of central processing units (CPUs) marketed for mainst ...
.
References
External links
*
*
Intel
X86 instructions
{{hardware-stub