Simd, Hpc, Dic, Computer Architecture.
i < limit; i += simd_width) { arr_r = _mm_loadu_ps(arr + i); min_r = _mm_min_ps(min_r, arr_r); max_r = _mm_max_ps(max_r, arr_r); } Now it’s time to get elements back into main memory. We will use _mm_storeu_ps intrinsic to store the elements from min_r and max_r registers into temporary memory