Home
last modified time | relevance | path

Searched refs:floor_log2 (Results 1 – 9 of 9) sorted by relevance

/external/ruy/ruy/
Dsize_util_test.cc33 EXPECT_LE(0, floor_log2(value)); in SizeUtilTestValue()
34 EXPECT_LE(floor_log2(value), ceil_log2(value)); in SizeUtilTestValue()
38 EXPECT_EQ(floor_log2(value), ceil_log2(value)); in SizeUtilTestValue()
39 EXPECT_EQ(floor_log2(value), pot_log2(value)); in SizeUtilTestValue()
41 EXPECT_EQ(floor_log2(value) + 1, ceil_log2(value)); in SizeUtilTestValue()
43 EXPECT_EQ(value >> floor_log2(value), 1); in SizeUtilTestValue()
45 << floor_log2(value)); in SizeUtilTestValue()
Dsize_util.h30 inline Integer floor_log2(Integer n) { in floor_log2() function
68 return n == 1 ? 0 : floor_log2(n - 1) + 1; in ceil_log2()
79 return floor_log2(n); in pot_log2()
84 return static_cast<Integer>(1) << floor_log2(value); in round_down_pot()
Dblock_map.cc160 int log2_quotient = floor_log2(num) - ceil_log2(denom); in floor_log2_quotient()
192 std::max(0, floor_log2(rows) - pot_log2(kernel_rows) - in GetRectangularness()
204 std::max(0, floor_log2(cols) - pot_log2(kernel_cols) - in GetRectangularness()
220 const int candidate_num_full_blocks_log2 = floor_log2( in GetMultithreadingScore()
264 total_read_bytes_log2 - floor_log2(cpu_cache_params.local_cache_size); in GetCacheLocalityScore()
293 floor_log2(block_rows * block_cols) - kernel_rows_log2 - kernel_cols_log2; in GetKernelAmortizationScore()
362 const int size_log2 = std::max(kernel_size_log2, floor_log2(size)); in MakeBlockMap()
/external/rust/crates/ryu/src/
Ds2d.rs10 fn floor_log2(value: u64) -> u32 { in floor_log2() function
129 e2 = floor_log2(m10) in s2d()
157 e2 = floor_log2(m10) in s2d()
176 let mut ieee_e2 = i32::max(0, e2 + DOUBLE_EXPONENT_BIAS as i32 + floor_log2(m2) as i32) as u32; in s2d()
Ds2f.rs10 fn floor_log2(value: u32) -> u32 { in floor_log2() function
129 e2 = floor_log2(m10) in s2f()
152 e2 = floor_log2(m10) in s2f()
166 let mut ieee_e2 = i32::max(0, e2 + FLOAT_EXPONENT_BIAS as i32 + floor_log2(m2) as i32) as u32; in s2f()
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dinteger.hpp38 GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
Dinteger.inl54 GLM_FUNC_QUALIFIER unsigned int floor_log2(unsigned int x)
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c2552 SVGA3dShaderDestToken floor_log2; in emit_log() local
2555 floor_log2 = dst; in emit_log()
2557 floor_log2 = get_temp( emit ); in emit_log()
2562 writemask( floor_log2, TGSI_WRITEMASK_X ), in emit_log()
2567 writemask( floor_log2, TGSI_WRITEMASK_X ), in emit_log()
2569 negate( src( floor_log2 ) ) ) ) in emit_log()
2578 negate( scalar( src( floor_log2 ), in emit_log()
2590 release_temp( emit, floor_log2 ); in emit_log()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c317 nir_ssa_def *floor_log2 = nir_ffloor(b, log2); in ptn_log() local
319 ptn_move_dest_masked(b, dest, floor_log2, WRITEMASK_X); in ptn_log()
322 nir_fexp2(b, nir_fneg(b, floor_log2))), in ptn_log()