AVX-SSE transistion penalties
Open
avx
improvement
simd
sse
- Dominant language
- C++
- Stars
- 119
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
the transistion between AVX and SSE cause penalties. To avoid those penalties, we might want to add `_mm256_zeroupper()` at the end of all AVX SIMD function.
- [https://software.intel.com/en-us/articles/avoiding-avx-sse-transition-penalties]() (3.3. Method 3: Zeroing Registers)
- [https://www.agner.org/optimize/optimizing_cpp.pdf]() (p.109 - 12.1)
Contributor guide
Assessment
This issue has not been assessed yet.