Technical: Hardware: G4
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Support

Vector Compare Bounds Float

vec_cmpb(arg1, arg2)

Each word of the result is 0 if the corresponding word of arg1 is less than or equal to the corresponding word of arg2 and greater than or equal to the negative of the corresponding word of arg2. If arg2 is greater than or equal to zero, the result is 0 if the absolute value of the corresponding word of arg1 is less than or equal to the corresponding word of arg2, negative if it is greater than the corresponding word of arg2, and positive if it is less than the corresponding word of arg2.

Result

arg1 and arg2

Maps To

vector signed long

vector float

vcmpbfp