vec_xl_be

Purpose

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

Syntax

d=vec_xl_be(a, b)

Result and argument types

The following table describes the types of the function returned value and the function arguments.

Table 1. Data type of function returned value and 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 signed long long signed long long *
vector unsigned long long unsigned long long *
vector float float *
vector double double *

Result value

vec_xl_be 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 big endian regardless of the -maltivec (-qaltivec) option in effect.



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