vec_xstw4

Purpose

Puts a 16-byte vector a to four 4-byte elements at the memory address specified by the displacement b and the pointer c.

This built-in function is valid only when -qarch is set to target POWER7 processors or higher.

Syntax

d=vec_xstw4(a, b, c)

Result and argument types

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

Note: The type for operand b in the following table is: int in 32-bit mode, and long in 64-bit mode.
d a b c
void vector signed char int signed char *
long
vector unsigned char int unsigned char *
long
vector signed short int signed short *
long
vector unsigned short int unsigned short *
long
vector signed int int signed int *
long
vector unsigned int int unsigned int *
long
vector float int float *
long
vector pixel int signed short *
unsigned short *
long signed short *
unsigned short *

Result value

This function adds the displacement and the pointer R-value to obtain the address for the store operation. It does not truncate the effective address to a multiple of 16 bytes.



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