vec_signextll

Purpose

Sign-extends smaller elements of a source vector to doubleword length in the result vector.

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

Syntax

d=vec_signextll (a)

Result and argument types

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

Table 1. Result and argument types
d a
vector signed long long vector signed char
vector signed short
vector signed int

Result value

Each doubleword element of d is computed by sign-extending the lowest-numbered element in the corresponding doubleword of a.