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

Load Vector Element Indexed

vec_lde(arg1, arg2)

Each operation loads an element from the effective address into a vector register at the byte offset that corresponds to the four least significant bits of the effective address, leaving the remaining bytes undefined. arg1 is an integer value, while arg2 is a pointer. The effective address is calculated by adding arg1 to arg2. If the element is a halfword or word, the least significant one or two bits, respectively, of the effective address are forced to zero. The arg2 type may also be a pointer to a const-qualified type.

Result

arg1

arg2

Maps To

vector unsigned char

any integral type

unsigned char *

lvebx

vector signed char

any integral type

signed char *

lvebx

vector unsigned short

any integral type

unsigned short *

lvehx

vector signed short

any integral type

short *

lvehx

vector unsigned long

any integral type

unsigned int *

lvewx

vector unsigned long

any integral type

unsigned long *

lvewx

vector signed long

any integral type

int *

lvewx

vector signed long

any integral type

long *

lvewx

vector float

any integral type

float *

lvewx
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