Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/tests/
Dint_min_max.cpp39 TEST(int_min_max, u_intN_min) in TEST() argument
41 EXPECT_EQ(INT64_MIN, u_intN_min(64)); in TEST()
42 EXPECT_EQ(INT32_MIN, u_intN_min(32)); in TEST()
43 EXPECT_EQ(INT16_MIN, u_intN_min(16)); in TEST()
44 EXPECT_EQ(INT8_MIN, u_intN_min(8)); in TEST()
46 EXPECT_EQ(MESA_INT24_MIN, u_intN_min(24)); in TEST()
47 EXPECT_EQ(MESA_INT12_MIN, u_intN_min(12)); in TEST()
48 EXPECT_EQ(MESA_INT10_MIN, u_intN_min(10)); in TEST()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_idiv_const.c68 int64_t int_min = u_intN_min(n->bit_size); in build_idiv()
106 int64_t int_min = u_intN_min(n->bit_size); in build_irem()
127 int64_t int_min = u_intN_min(n->bit_size); in build_imod()
Dnir_lower_bit_size.c90 const int64_t int_min = u_intN_min(dst_bit_size); in lower_alu_instr()
Dnir_search_helpers.h76 int64_t int_min = u_intN_min(instr->src[src].src.ssa->bit_size); in is_neg_power_of_two()
/third_party/mesa3d/src/util/format/
Dformat_utils.h164 return CLAMP(src, u_intN_min(dst_size), u_intN_max(dst_size)); in _mesa_signed_to_signed()
/third_party/mesa3d/src/util/
Dmacros.h412 u_intN_min(unsigned bit_size) in u_intN_min() function
/third_party/mesa3d/src/util/tests/fast_idiv_by_const/
Dfast_idiv_by_const_test.cpp230 return u_intN_min(bits); in rand_sint()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_clear.c189 int32_t min = u_intN_min(bits); in convert_clear_color()
/third_party/mesa3d/src/intel/isl/
Disl_format.c1186 packed = CLAMP(value->u32[i], u_intN_min(layout->bits), in pack_channel()