Home
last modified time | relevance | path

Searched refs:testDiv (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/opts/
DSkMath_opts_SSE2.h35 __m128i testDiv = _mm_slli_epi32(root, 1); in SkSqrtBits_SSE2() local
36 testDiv = _mm_add_epi32(testDiv, _mm_set1_epi32(1)); in SkSqrtBits_SSE2()
38 __m128i cmp = _mm_cmplt_epi32(remHi, testDiv); in SkSqrtBits_SSE2()
41 __m128i remHi2 = _mm_andnot_si128(cmp, _mm_sub_epi32(remHi, testDiv)); in SkSqrtBits_SSE2()
/external/skia/src/core/
DSkMath.cpp129 uint32_t testDiv = (root << 1) + 1; in SkSqrtBits() local
130 if (remHi >= testDiv) { in SkSqrtBits()
131 remHi -= testDiv; in SkSqrtBits()