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

Vector Add Modulo

vec_add(arg1, arg2)

Each element of the result is the sum of the corresponding elements of arg1 and arg2. The arithmetic is modular for integer types.

Result

arg1

arg2

Maps To

vector unsigned char

vector unsigned char

vector unsigned char

vaddubm

vector unsigned char

vector unsigned char

vector bool char

vaddubm

vector unsigned char

vector bool char

vector unsigned char

vaddubm

vector signed char

vector signed char

vector signed char

vaddubm

vector signed char

vector signed char

vector bool char

vaddubm

vector signed char

vector bool char

vector signed char

vaddubm

vector unsigned short

vector unsigned short

vector unsigned short

vadduhm

vector unsigned short

vector unsigned short

vector bool short

vadduhm

vector unsigned short

vector bool short

vector unsigned short

vadduhm

vector signed short

vector signed short

vector signed short

vadduhm

vector signed short

vector signed short

vector bool short

vadduhm

vector signed short

vector bool short

vector signed short

vadduhm

vector unsigned long

vector unsigned long

vector unsigned long

vadduwm

vector unsigned long

vector unsigned long

vector bool long

vadduwm

vector unsigned long

vector bool long

vector unsigned long

vadduwm

vector signed long

vector signed long

vector signed long

vadduwm

vector signed long

vector signed long

vector bool long

vadduwm

vector signed long

vector bool long

vector signed long

vadduwm

vector float

vector float

vector float

vaddfp
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