8000 ENH: Add Neon SIMD implementations for add, sub, mul, and div by DumbMice · Pull Request #16969 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Add Neon SIMD implementations for add, sub, mul, and div #16969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 31, 2020
Prev Previous commit
Next Next commit
avoid defining simd_binary functions for sse2-enabled machines
  • Loading branch information
DumbMice committed Jul 29, 2020
commit 1286dc45d74cc33369a2dcc849545807908459e9
5 changes: 2 additions & 3 deletions numpy/core/src/umath/simd.inc.src
Original file line number Diff line number Diff line change
Expand Up @@ -3728,8 +3728,7 @@ sse2_@kind@_BOOL(@type@ * op, @type@ * ip, const npy_intp n)

#undef VECTOR_SIZE_BYTES

#endif /* NPY_HAVE_SSE2_INTRINSICS */

#else /* NPY_HAVE_SSE2_INTRINSICS */
/**begin repeat
* #type = npy_float, npy_double#
* #TYPE = FLOAT, DOUBLE#
Expand Down Expand Up @@ -3805,5 +3804,5 @@ simd_binary_scalar2_@kind@_@TYPE@(@type@ * op, @type@ * ip1, @type@ * ip2, npy_i
/**end repeat1**/
#endif /* NPY_SIMD@CHK@ */
/**end repeat**/

#endif
#endif
0