vec_xst_trunc

Purpose

Truncates the value in a given vector and stores it to memory.

The rightmost element of the first argument, which uses the element type specified by the pointer type of the third argument, is stored to the address formed by adding the second and the third arguments.

Note: This built-in function is valid only when the -mcpu option is set to target Power10 processors.

Syntax

vec_xst_trunc (a,b,c)

Argument types

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

Table 1. Result and argument types
a b c
vector signed __int128 sign int signed char *
vector unsigned __int128 sign int unsigned char *
vector signed __int128 sign int signed short *
vector unsigned __int128 sign int unsigned short *
vector signed __int128 sign int signed int *
vector unsigned __int128 sign int unsigned int *
vector signed __int128 sign int signed long long *
vector unsigned __int128 sign int unsigned long long *