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.

Table 1. Data type of function returned value and 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.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us