vec_test_lsbb_all_ones
Purpose
Tests whether the least-significant bits of all bytes of the input argument are equal to 1.
Note: This built-in function
is valid only when the -mcpu option is set to target Power10 processors.
Syntax
d=vec_test_lsbb_all_ones(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
| d | a |
|---|---|
| int | vector unsigned char |
Result value
The result
d is set to 1 if the least-significant bit or least-significant
bits of all bytes of a are equal to 1. Otherwise, d is set to 0.