vec_xlw4
Purpose
Loads a 16-byte vector from four 4-byte elements at the memory address specified by the displacement a and the pointer b.
Note: It is preferred that you use vector
pointers and the indirection operator * instead of
this function to load vectors.
This built-in function is valid only when you include the altivec.h file.
Syntax
d=vec_xlw4(a, b)
Result and argument types
The following table describes the types of the returned value and the function arguments.
| d | a | b |
|---|---|---|
| vector signed char | long | signed char * |
| vector unsigned char | unsigned char * | |
| vector signed short | signed short * | |
| vector unsigned short | unsigned short * | |
| vector signed int | signed int * | |
| vector unsigned int | unsigned int * | |
| vector float | float * |
Result value
This function adds the displacement and the pointer R-value to obtain the address for the load operation. It does not truncate the effective address to a multiple of 16 bytes.


