__builtin_addex

Purpose

Adds Extended using Overflow Bit.

This built-in function is valid only when -qarch(-mcpu) is set to utilize the POWER9™ technology.

Prototype

signed long long __builtin_addex(signed long long, signed long long, const int);

unsigned long long __builtin_addex(unsigned long long, unsigned long long, const int);

Usage

The third parameter is 0. The parameter equal to 1, 2, or 3 is reserved.

The result is the sum of the first parameter, the second parameter, and the Overflow Bit.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us