clang 20.0.0git
|
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__)) |
#define | __INLINE static __inline |
Functions | |
__INLINE unsigned char __DEFAULT_FN_ATTRS | _addcarry_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. | |
__INLINE unsigned char __DEFAULT_FN_ATTRS | _subborrow_u32 (unsigned char __cf, unsigned int __x, unsigned int __y, unsigned int *__p) |
Adds unsigned 32-bit integer __y to 0 or 1 as indicated by the carry flag __cf, and subtracts the result from unsigned 32-bit integer __x. | |
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__)) |
Definition at line 18 of file adcintrin.h.
#define __INLINE static __inline |
Definition at line 24 of file adcintrin.h.
__INLINE unsigned char __DEFAULT_FN_ATTRS _addcarry_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 ADC
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 54 of file adcintrin.h.
__INLINE unsigned char __DEFAULT_FN_ATTRS _subborrow_u32 | ( | unsigned char | __cf, |
unsigned int | __x, | ||
unsigned int | __y, | ||
unsigned int * | __p | ||
) |
Adds unsigned 32-bit integer __y to 0 or 1 as indicated by the carry flag __cf, and subtracts the result from unsigned 32-bit integer __x.
Stores the unsigned 32-bit difference in the memory at __p, and returns the 8-bit carry-out (carry or overflow flag).
This intrinsic corresponds to the SBB
instruction.
__cf | The 8-bit unsigned carry flag; any non-zero value indicates carry. |
__x | The 32-bit unsigned minuend. |
__y | The 32-bit unsigned subtrahend. |
__p | Pointer to memory for storing the difference. |
Definition at line 85 of file adcintrin.h.