Intel ADX

Intel ADX (Multi-Precision Add-Carry Instruction Extensions) is Intel's arbitrary-precision arithmetic extension to the x86 instruction set architecture (ISA). Intel ADX was first supported in the Broadwell microarchitecture.[1][2]

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.[3]

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.[3]

AMD added support in their processors for these instructions starting with Ryzen.

Instruction Description
ADCX Adds two unsigned integers plus carry, reading the carry from the carry flag and if necessary setting it there. Does not affect other flags than the carry.
ADOX Adds two unsigned integers plus carry, reading the carry from the overflow flag and if necessary setting it there. Does not affect other flags than the overflow.

References

  1. ^ "Intel Software Development Emulator". software.intel.com. July 23, 2013. Retrieved October 16, 2013.
  2. ^ Intel Architecture Instruction Set Extensions Programming Reference (Document number 319433-013B) // Intel, July 2012, Chapter 9: Additional new instructions
  3. ^ a b "New Instructions Supporting Large Integer Arithmetic on Intel Architecture Processors" (PDF). Intel. Retrieved 2 January 2015.

External links

  • Intel Architecture Instruction Set Extensions Programming Reference (PDF). Intel. July 2013. Archived from the original (PDF) on 2013-09-29. Retrieved 2013-09-10.
  • "New Instructions Supporting Large Integer Arithmetic on Intel® Architecture Processors" (PDF).
  • v
  • t
  • e
Intel
Subsidiaries
  • 3Dlabs
  • Altera
  • Intel Security
  • Mobileye
  • Recon Instruments
  • Virtutech
  • Wind River Systems
  • Xircom
Joint venture
4Group Holdings (50% owned by Technicolor SA)
Products
  • v
  • t
  • e
Lists
Microarchitectures
IA-32 (32-bit x86)
x86-64 (64-bit)
x86 ULV
Current products
x86-64 (64-bit)
Discontinued
BCD oriented (4-bit)
pre-x86 (8-bit)
Early x86 (16-bit)
x87 (external FPUs)
8/16-bit databus
8087 (1980)
16-bit databus
80C187
80287
80387SX
32-bit databus
80387DX
80487
IA-32 (32-bit x86)
x86-64 (64-bit)
Other
Related
Litigation
People
Founders
CEOs
Related
  • v
  • t
  • e
SIMD (RISC)
SIMD (x86)
Bit manipulation
  • BMI (ABM: 2007, BMI1: 2012, BMI2: 2013, TBM: 2012)
  • ADX (2014)
Compressed instructions
Security and cryptography
Transactional memory
Virtualization
  • VT-x (2005)
  • AMD-V (2006)
  • VT-d (AMD-Vi)
Suspended extensions' dates are struck through.
Stub icon

This computer hardware article is a stub. You can help Wikipedia by expanding it.

  • v
  • t
  • e