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, and Delaware General Corporation Law, incorporated in Delaware. Intel designs, manufactures, and sells computer compo ...
'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 po ...
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 8086 microprocessor and its 8-bit-external-bus variant, the 8088. Th ...
instruction set architecture
In computer science, an instruction set architecture (ISA) is an abstract model that generally defines how software controls the CPU in a computer or a family of computers. A device or program that executes instructions described by that ISA, ...
(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 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.
References
External links
*
*
Intel
X86 instructions
{{hardware-stub