_mm256_extract_epi64ADD TO COMPARE ADDED TO COMPARE
Intel 64-bit (64 bits)/ AVX2
View official documentation
Purpose:
Extract a 64-bit integer from a, selected with index b, and store the result in output.
Result:
int64_t
Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
__m256i a = _mm256_set_epi64x(4000, 3000, 2000, 1000);
long long result = _mm256_extract_epi64(a, 2);
printf("%lld\n", result);
return 0;
}
Prototypes
Assembly Instruction:
SEQUENCE
Usage:
int64_t result =
_mm256_extract_epi64(
__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 |