Tags / Equivalents
vget_lane_s16() on Arm 64-bit - NEON
Extracts a single element from a vector at the specified lane position. The lane index must be an immediate value within the valid range for the vector size.
vec_extract() on IBM-Z 64-bit - IBM-Z
vgetq_lane_s16() on Arm 64-bit - NEON
Extracts a single element from a vector at the specified lane position. The lane index must be an immediate value within the valid range for the vector size.
_m_pextrw() on Intel 64-bit - SSE4.2
_mm_extract_pi16() on Intel 64-bit - SSE4.2
_mm_extract_epi16() on Intel 64-bit - SSE4.2
Extract a 16-bit integer from a, selected with imm8, and store the result in the lower element of output.
vec_extract() on IBM Power 9 64-bit - VSX
Returns the value of the bth element of vector a.
Result value: The value of each element of output is the element of a at position b modulo the number of elements of a.
Endian considerations: The element numbering within a register is left-to-right for big-endian targets, and right-to-left for little-endian targets.
Notes: Prior to ISA 3.0, less efficient code sequences must be used to implement vec_extract.
_mm256_extract_epi16() on Intel 64-bit - AVX2