mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
remove manual unrolling that causes problem
This commit is contained in:
parent
2eedec7479
commit
4ef5986d4d
@ -394,19 +394,6 @@ GEMMSingleMul( const T* a_data, size_t a_step,
|
||||
{
|
||||
WT al(a_data[k]);
|
||||
j=0;
|
||||
#if CV_ENABLE_UNROLLED
|
||||
for(; j <= m - 4; j += 4 )
|
||||
{
|
||||
WT t0 = d_buf[j] + WT(b_data[j])*al;
|
||||
WT t1 = d_buf[j+1] + WT(b_data[j+1])*al;
|
||||
d_buf[j] = t0;
|
||||
d_buf[j+1] = t1;
|
||||
t0 = d_buf[j+2] + WT(b_data[j+2])*al;
|
||||
t1 = d_buf[j+3] + WT(b_data[j+3])*al;
|
||||
d_buf[j+2] = t0;
|
||||
d_buf[j+3] = t1;
|
||||
}
|
||||
#endif
|
||||
for( ; j < m; j++ )
|
||||
d_buf[j] += WT(b_data[j])*al;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user