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

Vector All/Any Equal-To
Vector All/Any Not Equal-To

vec_all_eq(arg1, arg2)

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

vec_all_ne(arg1, arg2)

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

vec_any_eq(arg1, arg2)

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

vec_any_ne(arg1, arg2)

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

 

Result

arg1

arg2

Maps To
int

vector unsigned char

vector unsigned char

vcmpequb.
int

vector unsigned char

vector bool char

vcmpequb.
int

vector signed char

vector unsigned char

vcmpequb.
int

vector signed char

vector bool char

vcmpequb.
int

vector bool char

vector unsigned char

vcmpequb.
int

vector bool char

vector signed char

vcmpequb.
int

vector bool char

vector bool char

vcmpequb.
int

vector unsigned short

vector unsigned short

vcmpequh.
int

vector unsigned short

vector bool short

vcmpequh.
int

vector signed short

vector signed short

vcmpequh.
int

vector signed short

vector bool short

vcmpequh.
int

vector bool short

vector unsigned short

vcmpequh.
int

vector bool short

vector signed short

vcmpequh.
int

vector bool short

vector bool short

vcmpequh.
int

vector pixel

vector pixel

vcmpequh.
int

vector unsigned long

vector unsigned long

vcmpequw.
int

vector unsigned long

vector bool long

vcmpequw.
int

vector signed long

vector signed long

vcmpequw.
int

vector signed long

vector bool long

vcmpequw.
int

vector bool long

vector unsigned long

vcmpequw.
int

vector bool long

vector signed long

vcmpequw.
int

vector bool long

vector bool long

vcmpequw.
int

vector float

vector float

vcmpeqfp.
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