vec_lvsl
Purpose
Returns a vector useful for aligning non-aligned data.
Syntax
d=vec_lvsl(a, b)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a | b |
---|---|---|
vector unsigned char | int | unsigned long* |
long* | ||
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 a and the address of b, modulo 16. Each successive element contains the previous element's value plus 1.