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, Santa Clara, California. It is the world's largest semiconductor chip manufacturer by revenue, and is one of the devel ...
'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 l ...
extension to the
x86 instruction set architecture
In computer science, an instruction set architecture (ISA), also called computer architecture, is an abstract model of a computer. A device that executes instructions described by that ISA, such as a central processing unit (CPU), is called an ...
(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
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