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

Vector Shift Right and Left by Octet

vec_sro(arg1, arg2)
vec_slo(arg1, arg2)

The result is obtained by shifting arg1 right or left by the number of bytes specified in bits 121-124 of arg2. Bytes shifted out are replaced by zeroes.

Result

arg1

arg2

vec_sro
vec_slo
Maps To

vector unsigned char

vector unsigned char

vector unsigned char

vsro
vslo

vector unsigned char

vector unsigned char

vector unsigned short

vsro
vslo

vector signed char

vector signed char

vector unsigned char

vsro
vslo

vector signed char

vector signed char

vector unsigned short

vsro
vslo

vector unsigned short

vector unsigned short

vector unsigned char

vsro
vslo

vector unsigned short

vector unsigned short

vector unsigned short

vsro
vslo

vector signed short

vector signed short

vector unsigned char

vsro
vslo

vector signed short

vector signed short

vector unsigned short

vsro
vslo

vector pixel

vector pixel

vector unsigned char

vsro
vslo

vector pixel

vector pixel

vector unsigned short

vsro
vslo

vector unsigned long

vector unsigned long

vector unsigned char

vsro
vslo

vector unsigned long

vector unsigned long

vector unsigned short

vsro
vslo

vector signed long

vector signed long

vector unsigned char

vsro
vslo

vector signed long

vector signed long

vector unsigned short

vsro
vslo

vector float

vector float

vector unsigned char

vsro
vslo

vector float

vector float

vector unsigned short

vsro
vslo
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