Searched refs:MAX_UINT (Results 1 – 14 of 14) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | format_utils.h | 46 #define MAX_UINT(BITS) ((BITS) == 32 ? UINT32_MAX : ((1u << (BITS)) - 1)) macro 47 #define MAX_INT(BITS) ((int)MAX_UINT((BITS) - 1)) 52 (((X) * (int)(MAX_UINT(DST_BITS) / MAX_UINT(SRC_BITS))) + \ 58 return x * (1.0f / (float)MAX_UINT(src_bits)); in _mesa_unorm_to_float() 88 return MAX_UINT(dst_bits); in _mesa_float_to_unorm() 90 return _mesa_i64roundevenf(x * MAX_UINT(dst_bits)); in _mesa_float_to_unorm() 109 return (((uint64_t) x * MAX_UINT(dst_bits) + src_half) / in _mesa_unorm_to_unorm() 110 MAX_UINT(src_bits)); in _mesa_unorm_to_unorm() 112 return (x * MAX_UINT(dst_bits) + src_half) / MAX_UINT(src_bits); in _mesa_unorm_to_unorm() 165 return MIN2(src, MAX_UINT(dst_size)); in _mesa_unsigned_to_unsigned() [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | max.ll | 126 ; EG: MAX_UINT 139 ; EG: MAX_UINT 154 ; EG: MAX_UINT 155 ; EG: MAX_UINT 156 ; EG: MAX_UINT 157 ; EG-NOT: MAX_UINT 170 ; EG: MAX_UINT 183 ; EG: MAX_UINT 196 ; EG: MAX_UINT 208 ; EG: MAX_UINT {{.*}}literal.{{[xyzw]}} [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | max.ll | 132 ; EG: MAX_UINT 147 ; EG: MAX_UINT 162 ; EG: MAX_UINT 163 ; EG: MAX_UINT 164 ; EG: MAX_UINT 165 ; EG-NOT: MAX_UINT 178 ; EG: MAX_UINT 191 ; EG: MAX_UINT 206 ; EG: MAX_UINT 218 ; EG: MAX_UINT {{.*}}literal.{{[xyzw]}} [all …]
|
D | r600-legalize-umax-bug.ll | 4 ; CHECK: MAX_UINT
|
/external/llvm-project/clang/test/Misc/ |
D | caret-diags-macros.c | 185 #define UTARG_MAX_U APPEND (MAX_UINT, UL) 186 #define MAX_UINT 18446744073709551615 macro
|
/external/clang/test/Misc/ |
D | caret-diags-macros.c | 185 #define UTARG_MAX_U APPEND (MAX_UINT, UL) 186 #define MAX_UINT 18446744073709551615 macro
|
/external/mesa3d/src/util/tests/fast_idiv_by_const/ |
D | fast_idiv_by_const_test.cpp | 33 #define MAX_UINT(bits) \ macro 85 return (sum >> num_bits) ? MAX_UINT(num_bits) : sum; in uadd_sat() 204 return MAX_UINT(bits) - (rand() % 16); in rand_uint()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_gds.h | 119 MAX_UINT, enumerator
|
/external/mesa3d/src/intel/isl/ |
D | isl_format.c | 1187 packed = MIN(value->u32[i], MAX_UINT(layout->bits)); in pack_channel() 1201 data_out[dword] |= (packed & MAX_UINT(layout->bits)) << bit; in pack_channel() 1263 uint32_t packed = (data_in[dword] >> bit) & MAX_UINT(layout->bits); in unpack_channel()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600Instructions.td | 798 def MAX_UINT : R600_2OP_Helper <0x38, "MAX_UINT", umax>;
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600Instructions.td | 867 def MAX_UINT : R600_2OP_Helper <0x38, "MAX_UINT", umax>;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600Instructions.td | 867 def MAX_UINT : R600_2OP_Helper <0x38, "MAX_UINT", umax>;
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | format_pack.c | 48 #define UNPACK(SRC, OFFSET, BITS) (((SRC) >> (OFFSET)) & MAX_UINT(BITS)) 49 #define PACK(SRC, OFFSET, BITS) (((SRC) & MAX_UINT(BITS)) << (OFFSET))
|
D | format_unpack.c | 49 #define UNPACK(SRC, OFFSET, BITS) (((SRC) >> (OFFSET)) & MAX_UINT(BITS))
|