vec_find_any_eq_cc: Vector Find Any Element Equal with Condition Code

d = vec_find_any_eq_cc(a, b, c)

Find element of a from any element of b with an equal value.

For each element of the result, the value of each bit is 1 if the corresponding elements of a equal any element of b. Otherwise, the value of each bit is 0. c is set to 1, if there is at least one element of a find a match with b, otherwise c is set to 3.

Table 1. Vector Find Any Element Equal with Condition Code
d a b c
vector bool char vector signed char vector signed char int *
vector bool char vector bool char
vector unsigned char vector unsigned char
vector bool short vector signed short vector signed short
vector bool short vector bool short
vector unsigned short vector unsigned short
vector bool int vector signed int vector signed int
vector bool int vector bool int
vector unsigned int vector unsigned int