[fpc-pascal] FPC and SIMD intrinsics
Adriaan van Os
adriaan at adriaan.biz
Mon Apr 22 11:51:22 CEST 2024
Alecu Ștefan-Iulian via fpc-pascal wrote:
> Hello!
>
> I am interested in making a high-performance project which involves a
> lot of math, which is why I am interested in using SIMD (AVX2) on x86_64
> (and for fun as well, if I'm honest). I am coming mainly from the C and
> C++ world where one has intrinsics (such as `_mm256_add_epi64`, to give
> an example from the Intel® Intrinsics Guide). I am most familiar with
> GCC (and to a lesser extent to Clang and ICC), where one can access
> these intrinsics through headers such as <immintrin.h>. Is there a Free
> Pascal equivalent for that?
I have translated the Intel(R) Integrated Performance Primitives to FreePascal. I can send them if
you like.
On MacOS, you can use the Accelerate libraries <https://developer.apple.com/accelerate/> which have
headers translated to FreePascal (see the univint pacakage)
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list