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

Vector Pack

vec_pack(arg1, arg2)

The result is obtained from the concatenated 32 bytes of arg1 and arg2, by moving the lower half of each word or halfword into the corresponding halfword or byte, respectively, of the result.


Result

arg1 and arg2

Maps To

vector unsigned char

vector unsigned short

vpkuhum

vector signed char

vector signed short

vpkuhum

vector bool char

vector bool short

vpkuhum

vector unsigned short

vector unsigned long

vpkuwum

vector signed short

vector signed long

vpkuwum

vector bool short

vector bool long

vpkuwum

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