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

Move to/from Vector Status and Control Register

vec_mfvscr (void)
vec_mtvscr(arg1)

vec_mfvscr moves the high order 16 bits (including NJ) of the Vector Status and Control Register (VSCR) into the seventh element of the result, and the low order 16 bits (including SAT) into the eighth element. The first six elements of the result are set to zero.

Result
Maps To

vector unsigned short

mfvscr

vec_mtvscr sets the VSCR to the low-order 32 bits of arg1. The result of the operation is void.

arg1

Maps To

vector unsigned char

mtvscr

vector signed char

mtvscr

vector bool char

mtvscr

vector unsigned short

mtvscr

vector signed short

mtvscr

vector bool short

mtvscr

vector pixel

mtvscr

vector unsigned long

mtvscr

vector signed long

mtvscr
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