Tags / Equivalents
vec_extract() on IBM-Z 64-bit - IBM-Z
_mm_extract_epi8() on Intel 64-bit - SSE4.2
_mm256_extract_epi8() on Intel 64-bit - AVX2
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.
vgetq_lane_s8() 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.
vget_lane_s8() 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.