vec_extractm
Purpose
Collects the high-order bits of each element of the given vector.
Note: This built-in function
is valid only when the -mcpu option is set to target Power10 processors.
Syntax
d=vec_extractm(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a |
---|---|
unsigned int | vector unsigned char |
unsigned int | vector unsigned short |
unsigned int | vector unsigned int |
unsigned int | vector unsigned long long |
Result value
The contents of the high-order bit of each element of a
are concatenated and placed in the rightmost
bits of d
, with other bits of d
set to 0.