vec_find_any_ne: Vector Find Any Element Not Equal

d = vec_find_any_ne(a, b)

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

For each element of the result, the value of each bit is 1 if the corresponding elements of a does not equal to any element of b. Otherwise, the value of each bit is 0.

Table 1. Vector Find Any Element Not Equal
d a b
vector bool char vector signed char vector signed char
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
Example:
vector signed int a = {1, -2, 3, -4};
vector signed int b = {-5, 3, -7, 8};

vector bool int d = vec_find_any_ne(a, b); 
// d = {0xFFFFFFFF, 0xFFFFFFFF, 0, 0xFFFFFFFF}