Relational greater than operator >

The > (relational greater than operator) tests whether all elements of the left operand are greater than the corresponding elements of the right operand. The result is 1 if all elements of the left operand are greater than the corresponding elements of the right operand. Otherwise, the result is 0.
Note: A signed comparison is performed, if either of the operands is a signed integer vector.
The following table lists the vector data types accepted as the operands:
Table 1. Accepted vector data types for relational greater than operator >
Left operand types Right operand types
vector bool char vector bool char
vector signed char
vector unsigned char
vector signed char vector bool char
vector signed char
vector unsigned char vector bool char
vector unsigned char
vector bool short vector bool short
vector signed short
vector unsigned short
vector signed short vector bool short
vector signed short
vector unsigned short vector bool short
vector unsigned short
vector bool int vector bool int
vector signed int
vector unsigned int
vector signed int vector bool int
vector signed int
vector unsigned int vector bool int
vector unsigned int
vector bool long long vector bool long long
vector signed long long
vector unsigned long long
vector signed long long vector bool long long
vector signed long long
vector unsigned long long vector bool long long
vector unsigned long long
vector double vector double