__addg6s

Purpose

Add and Generate Sixes

Adds source1 to source2 and produces 16 carry bits, one for each carry out of decimal position n (bit position 4xn).

The result is a doubleword composed of the 16 carry bits. The doubleword consists of a decimal six (0b0110) in every decimal digit position for which the corresponding carry bit is 0, and a zero (0b0000) in every position for which the corresponding carry bit is 1.

Prototype

long long __addg6s (long long source1, long long source2);

Usage

Valid only when -qarch is set to target POWER7 processors in 64-bit mode.