Skip to content

Commit f0d142c

Browse files
committed
Enable DSUM SIMD path for WASM128_GENERIC
1 parent 8c3717f commit f0d142c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/arm/sum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
4242
n *= inc_x;
4343
if (inc_x == 1)
4444
{
45-
#if V_SIMD && (!defined(DOUBLE) || (defined(DOUBLE) && V_SIMD_F64 && V_SIMD > 128))
45+
#if V_SIMD && (!defined(DOUBLE) || (defined(DOUBLE) && V_SIMD_F64 && (V_SIMD > 128 || defined(ARCH_WASM))))
4646
#ifdef DOUBLE
4747
const int vstep = v_nlanes_f64;
4848
const int unrollx4 = n & (-vstep * 4);

0 commit comments

Comments
 (0)