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

Vector Subtract Saturate

vec_subs(arg1, arg2)

Each element of the result is obtained by subtracting the corresponding element of arg2 from the corresponding element of arg1. Saturated arithmetic is used for integer types.

Result

arg1

arg2

Maps To

vector unsigned char

vector unsigned char

vector unsigned char

vsububs

vector unsigned char

vector unsigned char

vector bool char

vsububs

vector unsigned char

vector bool char

vector unsigned char

vsububs

vector signed char

vector signed char

vector signed char

vsubsbs

vector signed char

vector signed char

vector bool char

vsubsbs

vector signed char

vector bool char

vector signed char

vsubsbs

vector unsigned short

vector unsigned short

vector unsigned short

vsubuhs

vector unsigned short

vector unsigned short

vector bool short

vsubuhs

vector unsigned short

vector bool short

vector unsigned short

vsubuhs

vector signed short

vector signed short

vector signed short

vsubshs

vector signed short

vector signed short

vector bool short

vsubshs

vector signed short

vector bool short

vector signed short

vsubshs

vector unsigned long

vector unsigned long

vector unsigned long

vsubuws

vector unsigned long

vector unsigned long

vector bool long

vsubuws

vector unsigned long

vector bool long

vector unsigned long

vsubuws

vector signed long

vector signed long

vector signed long

vsubsws

vector signed long

vector signed long

vector bool long

vsubsws

vector signed long

vector bool long

vector signed long

vsubsws
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