Векторные инструкции для всех
Jan. 24th, 2021 10:33 amЯ этим уже не занимаюсь, но вдруг кому пригодится.
SIMD Everywhere
The SIMDe header-only library provides fast, portable implementations of SIMD intrinsics on hardware which doesn't natively support them, such as calling SSE functions on ARM. There is no performance penalty if the hardware supports the native implementation (e.g., SSE/AVX runs at full speed on x86, NEON on ARM, etc.).
Конкретно эту библиотеку рекомендует Тутубалин.
И ещё одна, а внизу ссылки на дружественные проекты:
sse2neon
A C/C++ header file that converts Intel SSE intrinsics to Arm/Aarch64 NEON intrinsics.
SIMD Everywhere
The SIMDe header-only library provides fast, portable implementations of SIMD intrinsics on hardware which doesn't natively support them, such as calling SSE functions on ARM. There is no performance penalty if the hardware supports the native implementation (e.g., SSE/AVX runs at full speed on x86, NEON on ARM, etc.).
Конкретно эту библиотеку рекомендует Тутубалин.
И ещё одна, а внизу ссылки на дружественные проекты:
sse2neon
A C/C++ header file that converts Intel SSE intrinsics to Arm/Aarch64 NEON intrinsics.