d = vec_max(a, b)
Returns a vector containing the maximum value from each set of corresponding elements of the given vectors. The value of each element of the result is the maximum of the values of the corresponding elements of a and b.
This function emulates the operation on vector double.
d | a | b |
---|---|---|
vector signed char | vector bool char | vector signed char |
vector signed char | vector signed char | |
vector bool char | ||
vector unsigned char | vector bool char | vector unsigned char |
vector unsigned char | vector unsigned char | |
vector bool char | ||
vector signed short | vector bool short | vector signed short |
vector signed short | vector signed short | |
vector bool short | ||
vector unsigned short | vector bool short | vector unsigned short |
vector unsigned short | vector unsigned short | |
vector bool short | ||
vector signed int | vector bool int | vector signed int |
vector signed int | vector signed int | |
vector bool int | ||
vector unsigned int | vector bool int | vector unsigned int |
vector unsigned int | vector unsigned int | |
vector bool int | ||
vector signed long long | vector bool long long | vector signed long long |
vector signed long long | vector signed long long | |
vector bool long long | ||
vector unsigned long long | vector bool long long | vector unsigned long long |
vector unsigned long long | vector unsigned long long | |
vector bool long long | ||
vector double | vector double | vector double |