Home
last modified time | relevance | path

Searched refs:MAX_UINT (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/mesa/main/
Dformat_utils.h46 #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/
Dmax.ll126 ; 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/
Dmax.ll132 ; 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 …]
Dr600-legalize-umax-bug.ll4 ; CHECK: MAX_UINT
/external/llvm-project/clang/test/Misc/
Dcaret-diags-macros.c185 #define UTARG_MAX_U APPEND (MAX_UINT, UL)
186 #define MAX_UINT 18446744073709551615 macro
/external/clang/test/Misc/
Dcaret-diags-macros.c185 #define UTARG_MAX_U APPEND (MAX_UINT, UL)
186 #define MAX_UINT 18446744073709551615 macro
/external/mesa3d/src/util/tests/fast_idiv_by_const/
Dfast_idiv_by_const_test.cpp33 #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/
Dsfn_instruction_gds.h119 MAX_UINT, enumerator
/external/mesa3d/src/intel/isl/
Disl_format.c1187 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/
DR600Instructions.td798 def MAX_UINT : R600_2OP_Helper <0x38, "MAX_UINT", umax>;
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600Instructions.td867 def MAX_UINT : R600_2OP_Helper <0x38, "MAX_UINT", umax>;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600Instructions.td867 def MAX_UINT : R600_2OP_Helper <0x38, "MAX_UINT", umax>;
/external/mesa3d/prebuilt-intermediates/main/
Dformat_pack.c48 #define UNPACK(SRC, OFFSET, BITS) (((SRC) >> (OFFSET)) & MAX_UINT(BITS))
49 #define PACK(SRC, OFFSET, BITS) (((SRC) & MAX_UINT(BITS)) << (OFFSET))
Dformat_unpack.c49 #define UNPACK(SRC, OFFSET, BITS) (((SRC) >> (OFFSET)) & MAX_UINT(BITS))