Skip to content

Commit

Permalink
Fix non-AVX builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvalin committed Nov 11, 2023
1 parent 77594bf commit 58923f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnn/vec_avx.h
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ static inline void sgemv(float *out, const float *weights, int rows, int cols, i
{
__m128 vxj;
__m128 vw;
vxj = _mm_broadcast_ss(&x[j]);
vxj = _mm_set1_ps(x[j]);

vw = _mm_loadu_ps(&weights[j*col_stride + i]);
vy0 = _mm_fmadd_ps(vw, vxj, vy0);
Expand Down

0 comments on commit 58923f6

Please sign in to comment.