vec_lvsl
Purpose
Returns a vector useful for aligning non-aligned data.
Syntax
d=vec_lvsl(a, b)
Result and argument types
The following tables describe the types of the returned value and the function arguments.
| d | a | b |
|---|---|---|
| vector unsigned char | int | unsigned char* |
| signed char* | ||
| unsigned short* | ||
| short* | ||
| unsigned int* | ||
| int* | ||
| float* |
| d | a | b |
|---|---|---|
| vector unsigned char | long | unsigned char* |
| signed char* | ||
| unsigned short* | ||
| short* | ||
| unsigned int* | ||
| int* | ||
| float* |
Result value
The first element of the result vector is the sum of the value
of a and the address that is specified by b, modulo 16. The
value of each successive element is the value of the previous element plus 1.