clang 20.0.0git
|
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("adx"))) |
#define | __INLINE static __inline |
Functions | |
__INLINE unsigned char __DEFAULT_FN_ATTRS | _addcarryx_u32 (unsigned char __cf, unsigned int __x, unsigned int __y, unsigned int *__p) |
Adds unsigned 32-bit integers __x and __y, plus 0 or 1 as indicated by the carry flag __cf. | |
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("adx"))) |
Definition at line 18 of file adxintrin.h.
#define __INLINE static __inline |
Definition at line 25 of file adxintrin.h.
__INLINE unsigned char __DEFAULT_FN_ATTRS _addcarryx_u32 | ( | unsigned char | __cf, |
unsigned int | __x, | ||
unsigned int | __y, | ||
unsigned int * | __p | ||
) |
Adds unsigned 32-bit integers __x and __y, plus 0 or 1 as indicated by the carry flag __cf.
Stores the unsigned 32-bit sum in the memory at __p, and returns the 8-bit carry-out (carry flag).
This intrinsic corresponds to the ADCX
instruction.
__cf | The 8-bit unsigned carry flag; any non-zero value indicates carry. |
__x | A 32-bit unsigned addend. |
__y | A 32-bit unsigned addend. |
__p | Pointer to memory for storing the sum. |
Definition at line 57 of file adxintrin.h.