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

Vector Sum Across 1/4 Integer

vec_sum4s(arg1, arg2)

Each word of the result is the 32-bit saturated sum of the four bytes or two halfwords of the corresponding position of arg1 (depending on its type), plus the corresponding word of arg2.

Result

arg1

arg2
Maps To

vector unsigned long

vector unsigned char

vector unsigned long

vsum4ubs

vector signed long

vector signed char

vector signed long

vsum4sbs

vector signed long

vector signed short

vector signed long

vsum4shs
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