Simd, Hpc, Dic, Computer Architecture.
each iteration, we will increment the array pointer by 4 elements. Then we will load next 4 elements into the register arr_r. Then using _mm_min_ps and _mm_max_ps intrinsics, we will update the current minimum and maximum value in min_r and max_r registers respectively. for (size_t i = simd_width;