Skip to content

Commit

Permalink
apply code-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored and github-actions[bot] committed Jan 15, 2025
1 parent 2bab1ef commit 4d0e47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/x86/x86_usability.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class FastDivider_epu32
// xm = (x * multiplier) >> 32
__m512i xm_low = _mm512_srli_epi64(_mm512_mul_epu32(x, _multiplier), 32);
__m512i xm_high = _mm512_mul_epu32(_mm512_srli_epi64(x, 32), _multiplier);
__mmask16 mask = 0xAAAA; // 1010 1010 1010 1010
__mmask16 mask = 0xAAAA; // 1010 1010 1010 1010
__m512i xm = _mm512_mask_blend_epi32(mask, xm_low, xm_high);
// (xm + (x - xm) >> 1) >> (sh - 1)
return _mm512_srl_epi32(_mm512_add_epi32(xm, _mm512_srl_epi32(_mm512_sub_epi32(x, xm), _shift1)), _shift2);
Expand Down

0 comments on commit 4d0e47a

Please sign in to comment.