Use vsqrtf instead of _mm_sqrt_ps

This commit is contained in:
heckflosse
2018-11-05 16:02:32 +01:00
parent 0983817434
commit 8a31f0368c
4 changed files with 6 additions and 6 deletions

View File

@@ -191,7 +191,7 @@ void ImProcFunctions :: dirpyr_equalizer(float ** src, float ** dst, int srcwidt
int j;
for(j = 0; j < srcwidth - 3; j += 4) {
_mm_storeu_ps(&tmpChr[i][j], _mm_sqrt_ps(SQRV(LVFU(l_b[i][j])) + SQRV(LVFU(l_a[i][j]))) / div);
_mm_storeu_ps(&tmpChr[i][j], vsqrtf(SQRV(LVFU(l_b[i][j])) + SQRV(LVFU(l_a[i][j]))) / div);
}
for(; j < srcwidth; j++) {