ihhub / ihhub/penguinV

AVX-SSE transistion penalties

Open
#331 6 comments 0 reactions 1 assignee Claimed by @0x72D0 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.