_mm256_extract_epi8ADD TO COMPARE ADDED TO COMPARE
Intel 64-bit (64 bits)/ AVX2
View official documentation
Purpose:
Extract an 8-bit integer from a, selected with index c, and store the result in output.
Result:
__m256i
Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
__m256i a = _mm256_set_epi8( 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 );
int result = _mm256_extract_epi8(a, 5);
printf("%d\n", result);
return 0;
}
Prototypes
Assembly Instruction:
SEQUENCE
Usage:
__m256i result =
_mm256_extract_epi8(
__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 |