Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AlexGuteniev
Copy link
Contributor

Fix #3601

@AlexGuteniev AlexGuteniev requested a review from a team as a code owner April 6, 2023 14:29
@StephanTLavavej StephanTLavavej added the performance Must go faster label Apr 6, 2023
@StephanTLavavej StephanTLavavej changed the title vector_algorithms.cpp: Add vzeroupper, so that is is there even in /Od vector_algorithms.cpp: Add vzeroupper, so that it is there even in /Od Apr 6, 2023
@StephanTLavavej
Copy link
Member

Thanks! 😻 I verified that all occurrences of _Use_avx2() have been updated, and that the guard type is used if and only if an early return is possible. FYI @strega-nil-ms I pushed a small commit to enhance the guard type after you approved (no functional change, just resists future misuse).

@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit e6a12f7 into microsoft:main Apr 7, 2023
@StephanTLavavej
Copy link
Member

Thanks for comprehensively fixing this performance issue! 🛠️ 🚀 ✅

@AlexGuteniev AlexGuteniev deleted the vzeroupper branch April 8, 2023 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Must go faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<algorithm>: vectorized algorithms hurt performance.

3 participants