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

Vector Conditional Select

vec_sel(arg1, arg2, arg3)

Each bit of the result is set to the corresponding bit of arg1 if the corresponding bit of arg3 is 0; otherwise it is set to the corresponding bit of arg2.

Result

arg1 and arg2

arg3

Maps To

vector unsigned char

vector unsigned char

vector unsigned char

vsel

vector unsigned char

vector unsigned char

vector bool char

vsel

vector signed char

vector signed char

vector unsigned char

vsel

vector signed char

vector signed char

vector bool char

vsel

vector bool char

vector bool char

vector unsigned char

vsel

vector bool char

vector bool char

vector bool char

vsel

vector unsigned short

vector unsigned short

vector unsigned short

vsel

vector unsigned short

vector unsigned short

vector bool short

vsel

vector signed short

vector signed short

vector unsigned short

vsel

vector signed short

vector signed short

vector bool short

vsel

vector bool short

vector bool short

vector unsigned short

vsel

vector bool short

vector bool short

vector bool short

vsel

vector unsigned long

vector unsigned long

vector unsigned long

vsel

vector unsigned long

vector unsigned long

vector bool long

vsel

vector signed long

vector signed long

vector unsigned long

vsel

vector signed long

vector signed long

vector bool long

vsel

vector bool long

vector bool long

vector unsigned long

vsel

vector bool long

vector bool long

vector bool long

vsel

vector float

vector float

vector unsigned long

vsel

vector float

vector float

vector bool long

vsel
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