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

Vector All/Any Greater Than or Equal-To
Vector All/Any Less Than or Equal-To

vec_all_ge(arg1, arg2)

Each predicate returns 1 if each element of arg1 is greater than or equal to the corresponding element of arg2. Otherwise it returns zero.

vec_all_le(arg1, arg2)

Each predicate returns 1 if each element of arg1 is less than or equal to the corresponding element of arg2. Otherwise it returns zero.

vec_any_ge(arg1, arg2)

Each predicate returns 1 if at least one element of arg1 is greater than or equal to the corresponding element of arg2. Otherwise it returns zero.

vec_any_le(arg1, arg2)

Each predicate returns 1 if at least one element of arg1 is less than or equal to the corresponding element of arg2. Otherwise it returns zero.

 

Result

arg1

arg2

Maps To
int

vector unsigned char

vector unsigned char

vcmpgtub.
int

vector unsigned char

vector bool char

vcmpgtub.
int

vector signed char

vector unsigned char

vcmpgtsb.
int

vector signed char

vector bool char

vcmpgtsb.
int

vector bool char

vector unsigned char

vcmpgtub.
int

vector bool char

vector signed char

vcmpgtsb.
int

vector unsigned short

vector unsigned short

vcmpgtuh.
int

vector unsigned short

vector bool short

vcmpgtuh.
int

vector signed short

vector signed short

vcmpgtsh.
int

vector signed short

vector bool short

vcmpgtsh.
int

vector bool short

vector unsigned short

vcmpgtuh.
int

vector bool short

vector signed short

vcmpgtsh.
int

vector unsigned long

vector unsigned long

vcmpgtuw.
int

vector unsigned long

vector bool long

vcmpgtuw.
int

vector signed long

vector signed long

vcmpgtsw.
int

vector signed long

vector bool long

vcmpgtw.
int

vector bool long

vector unsigned long

vcmpgtuw.
int

vector bool long

vector signed long

vcmpgtsw.
int

vector float

vector float

vcmpgefp.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice