vec_all_eq: All Elements Equal

d = vec_all_eq(a, b)

Tests whether all sets of corresponding elements of the given vectors are equal. The result is 1 if each element of a is equal to the corresponding element of b. Otherwise, the result is 0.

Table 1. All Elements Equal
d a b MIN ARCH
int vector bool char vector bool char ARCH(11) 1
vector signed char vector signed char ARCH(11) 1
vector unsigned char vector unsigned char ARCH(11) 1
vector bool short vector bool short ARCH(11) 1
vector signed short vector signed short ARCH(11) 1
vector unsigned short vector unsigned short ARCH(11) 1
vector bool int vector bool int ARCH(11) 1
vector signed int vector signed int ARCH(11) 1
vector unsigned int vector unsigned int ARCH(11) 1
vector bool long long vector bool long long ARCH(11) 1
vector signed long long vector signed long long ARCH(11) 1
vector unsigned long long vector unsigned long long ARCH(11) 1
vector float vector float ARCH(12) 1
vector double vector double ARCH(11) 1
Note:
1. This prototype has the exact same semantics as that in the OpenPOWER ABI for Linux® Supplement for the Power Architecture® 64-bit ELF V2 ABI, Revision 1.4.