__builtin_cmpeqb

Purpose

Compares the corresponding bytes of the given parameters and returns the result.

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

Prototype

signed long long __builtin_cmpeqb (signed long long a, signed long long b);

Usage

If the rightmost byte of a is equal to any byte of b, the result is set to 1 ; otherwise, the result is set to 0.



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