Skip to content
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

VSX toolchains: check for SSE2 support #4845

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

JeremyRand
Copy link
Contributor

Improves compatibility with Clang 11.

Also rename NCNN_SSE* options to NCNN_VSX_SSE* to avoid conflict between x86 and POWER (went unnoticed before because x86 doesn't have an option for toggling SSE 4.1).

Improves compatibility with Clang 11.

Also rename NCNN_SSE* options to NCNN_VSX_SSE* to avoid conflict between
x86 and POWER (went unnoticed before because x86 doesn't have an option
for toggling SSE 4.1).
@codecov-commenter
Copy link

Codecov Report

Merging #4845 (17546ce) into master (47e0daf) will decrease coverage by 0.51%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4845      +/-   ##
==========================================
- Coverage   92.94%   92.43%   -0.51%     
==========================================
  Files         309      309              
  Lines       85822    85765      -57     
==========================================
- Hits        79769    79281     -488     
- Misses       6053     6484     +431     

see 25 files with indirect coverage changes

@nihui nihui merged commit 4722444 into Tencent:master Jul 11, 2023
92 of 93 checks passed
@nihui
Copy link
Member

nihui commented Jul 11, 2023

Thanks for your contribution !

JeremyRand pushed a commit to JeremyRand/ncnn that referenced this pull request Nov 23, 2023
Clang prior to 13 no longer fails to build ncnn since Tencent#4845.

Clang 18 fixes SSE4.1 translation, which yields a major speedup.
nihui pushed a commit that referenced this pull request Nov 27, 2023
Clang prior to 13 no longer fails to build ncnn since #4845.

Clang 18 fixes SSE4.1 translation, which yields a major speedup.

Co-authored-by: Jeremy Rand <jeremyrand@danwin1210.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants