8000 ENH: Use AVX for float32 implementation of np.sin & np.cos by r-devulap · Pull Request #13368 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Use AVX for float32 implementation of np.sin & np.cos #13368

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
Aug 18, 2019
Prev Previous commit
BUG: rename avx2_scalef_ps to fma_scalef_ps
  • Loading branch information
Raghuveer Devulapalli committed Aug 3, 2019
commit 457b3e6979d84677b860cf1a7c22d1190ba9d895
2 changes: 1 addition & 1 deletion 2 numpy/core/src/umath/simd.inc.src
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ fma_get_mantissa(__m256 x)
}

static NPY_INLINE NPY_GCC_OPT_3 NPY_GCC_TARGET_AVX2 __m256
avx2_scalef_ps(__m256 poly, __m256 quadrant)
fma_scalef_ps(__m256 poly, __m256 quadrant)
{
/*
* Handle denormals (which occur when quadrant <= -125):
Expand Down
0