Computes sum of 32/64 bit unsigned integer value with borrow-in value and then subtracts the result from a 32/64 bit unsigned integer value. The corresponding 4th Generation Intel® Core™ Processor extension instruction is
- Borrow-in value for addition operation
- 32/64 bit source integer for addition operation
- 32/64 bit source integer for subtraction operation
- Pointer to memory location where result is stored
Computes the sum of a 32/64 bit wide unsigned integer value
src2and a borrow-in value
b_inand then subtracts result of the sum from 32/64 bit wide unsigned integer value
src1. The borrow-in value is considered '
1' for any non-zero
b_ininput value, or '
0' otherwise. The difference is then stored to a memory location referenced by
*diff_out = src1 - (src2 + (b_in !=0 ? 1 : 0))
This intrinsic does not perform validity checking of the memory address pointed to by
diff_out, thus it cannot be used to find out if a subtraction produces borrow-out without storing the result of the subtraction.
Returns borrow-out value generated by subtraction operation. The result of the subtraction is stored into memory location pointed by