summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/einsum.c.src3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/einsum.c.src b/numpy/core/src/multiarray/einsum.c.src
index 9c6913788..1eca7d751 100644
--- a/numpy/core/src/multiarray/einsum.c.src
+++ b/numpy/core/src/multiarray/einsum.c.src
@@ -546,7 +546,7 @@ finish_after_unrolled_loop:
return;
}
-#if EINSUM_USE_SSE1 && @float32@
+#if EINSUM_USE_SSE3 && @float32@
value1_sse = _mm_set_ps1(value1);
/* Use aligned instructions if possible */
@@ -570,6 +570,7 @@ finish_after_unrolled_loop:
goto finish_after_unrolled_loop;
}
#elif EINSUM_USE_SSE2 && @float64@
+ printf("using sse2\n");
value1_sse = _mm_set1_pd(value1);
/* Use aligned instructions if possible */