Chapter 9.4 : The intrinsics version of barycentre
- 9.4.1) The barycentre_intrinsics.h file
- 9.4.2) The barycentre_intrinsics.cpp file
- 9.4.3) The CMakeLists.txt file
- 9.4.4) The compilation
- 9.4.5) The performances
During this section, we will use :
- Inclusion of file immintrin.h
- Intrinsic function : _mm256_load_ps
- Intrinsic function : _mm256_store_ps
- Intrinsic function : _mm256_mul_ps
- Intrinsic function : _mm256_add_ps
- Intrinsic function : _mm256_broadcast_ss (to duplicate a float 8 times in a vectorial register)
- Enable specific optimisations with -O3 -march=native -mtune=native -mavx2