vec_strir_p
Purpose
Tests whether the input vector contains a zero element.
Note: This built-in function
is valid only when the -mcpu option is set to target Power10 processors.
Syntax
d=vec_strir_p(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 |
| int | vector signed char |
| int | vector unsigned short |
| int | vector signed short |
Result value
The result
d is given a non-zero value if any element in a has a zero value. Otherwise, d is set to zero.