MCPcopy Create free account
hub / github.com/numpy/numpy / npyv_cmpgt_u64

Function npyv_cmpgt_u64

numpy/core/src/common/simd/avx2/operators.h:173–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171NPYV_IMPL_AVX2_UNSIGNED_GT(32, 0x80000000)
172
173NPY_FINLINE __m256i npyv_cmpgt_u64(__m256i a, __m256i b)
174{
175 const __m256i sbit = _mm256_set1_epi64x(0x8000000000000000);
176 return _mm256_cmpgt_epi64(_mm256_xor_si256(a, sbit), _mm256_xor_si256(b, sbit));
177}
178
179// unsigned greater than or equal
180NPY_FINLINE __m256i npyv_cmpge_u8(__m256i a, __m256i b)

Callers 1

npyv_max_u64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected