Please enter what you're looking for to continue your search
 

_mm256_extract_epi32
ADD TO COMPARE ADDED TO COMPARE

 Intel 64-bit (64 bits)/ AVX2  View official documentation
 Location: Get-Set  >  Vector Get Single element
 CPU Extensions: AVX
Purpose:
Extract a 32-bit integer from a, selected with index b, and store the result in output.
Result:

int

Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
 __m256i a = _mm256_set_epi32(80, 70, 60, 50, 40, 30, 20, 10);
 int result = _mm256_extract_epi32(a, 3);
 printf("%d\n", result);

 return 0;
}

Prototypes

Assembly Instruction:
SEQUENCE
Usage:
int result = _mm256_extract_epi32( __m256i a, const int b )
SIMD Intrinsics Summary
SIMD Engines: 6
C Intrinsics: 10444
NEON: 4353
AVX2: 405
AVX512: 4717
SSE4.2: 598
VSX: 192
IBM-Z: 179