vec_xl

Purpose

Loads a 16-byte vector from the memory address specified by the displacement a and the pointer b.

Syntax

d=vec_xl(a, b)

Result and argument types

The following tables describe the types of the function returned value and the function arguments in different bit modes.

Table 1. Data type of function returned value and arguments (in 32-bit mode)
d a b
vector signed char int const signed char *
vector unsigned char const unsigned char *
vector signed short const signed short *
vector unsigned short const unsigned short *
vector signed int const signed int *
vector unsigned int const unsigned int *
vector signed long long const signed long long *
vector unsigned long long const unsigned long long *
vector float const float *
vector double const double *
Table 2. Data type of function returned value and arguments (in 64-bit mode)
d a b
vector signed char long const signed char *
vector unsigned char const unsigned char *
vector signed short const signed short *
vector unsigned short const unsigned short *
vector signed int const signed int *
vector unsigned int const unsigned int *
vector signed long long const signed long long *
vector unsigned long long const unsigned long long *
vector float const float *
vector double const double *

Result value

vec_xl adds the displacement provided by a to the address provided by b to obtain the effective address for the load operation. It does not truncate the effective address to a multiple of 16 bytes.

The order of elements in the function result is different on little endian systems.