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

Vector Maximum

vec_max(arg1, arg2)

Each element of the result is the larger of the corresponding elements of arg1 and arg2.

Result

arg1

arg2

Maps To

vector unsigned char

vector unsigned char

vector unsigned char

vmaxub

vector unsigned char

vector unsigned char

vector bool char

vmaxub

vector unsigned char

vector bool char

vector unsigned char

vmaxub

vector signed char

vector signed char

vector signed char

vmaxsb

vector signed char

vector signed char

vector bool char

vmaxsb

vector signed char

vector bool char

vector signed char

vmaxsb

vector unsigned short

vector unsigned short

vector unsigned short

vmaxuh

vector unsigned short

vector unsigned short

vector bool short

vmaxuh

vector unsigned short

vector bool short

vector unsigned short

vmaxuh

vector signed short

vector signed short

vector signed short

vmaxsh

vector signed short

vector signed short

vector bool short

vmaxsh

vector signed short

vector bool short

vector signed short

vmaxsh

vector unsigned long

vector unsigned long

vector unsigned long

vmaxuw

vector unsigned long

vector unsigned long

vector bool long

vmaxuw

vector unsigned long

vector bool long

vector unsigned long

vmaxuw

vector signed long

vector signed long

vector signed long

vmaxsw

vector signed long

vector signed long

vector bool long

vmaxsw

vector signed long

vector bool long

vector signed long

vmaxsw

vector float

vector float

vector float

vmaxfp
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