Skip to content

Commit

Permalink
apply code-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
whyb authored and github-actions[bot] committed Oct 10, 2023
1 parent 3f8557f commit 8d76be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/x86/shufflechannel_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ int ShuffleChannel_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Opt
// macro `_mm256_loadu2_m128` is declared in Intel® Intrinsics Guide but somehow missed in <immintrin.h>
// __m256 _p1 = _mm256_loadu2_m128(ptr2, ptr1);
// issue #5072 _mm256_set_m128 is only availble on gcc8+
// __m256 _p1 = _mm256_set_m128(_mm_loadu_ps(ptr2), _mm_loadu_ps(ptr1));
// __m256 _p1 = _mm256_set_m128(_mm_loadu_ps(ptr2), _mm_loadu_ps(ptr1));

__m256 _p1 = _mm256_castps128_ps256(_mm_loadu_ps(ptr1));
_p1 = _mm256_insertf128_ps(_p1, _mm_loadu_ps(ptr2), 1);
Expand Down

0 comments on commit 8d76be5

Please sign in to comment.