vec_unpackh
Purpose
Unpacks the most significant half of a vector into a vector with larger elements.
Syntax
d=vec_unpackh(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a |
---|---|
vector signed short | vector signed char |
vector signed int | vector signed short |
vector signed long long | vector signed int |
vector bool long long | vector bool int |
Result value
The value of each element of the result is the value of the corresponding element of the most significant half of a.