Searched refs:MAX_UINT (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | format_utils.h | 45 #define MAX_UINT(BITS) ((BITS) == 32 ? UINT32_MAX : ((1u << (BITS)) - 1)) macro 46 #define MAX_INT(BITS) ((int)MAX_UINT((BITS) - 1)) 51 (((X) * (int)(MAX_UINT(DST_BITS) / MAX_UINT(SRC_BITS))) + \ 57 return x * (1.0f / (float)MAX_UINT(src_bits)); in _mesa_unorm_to_float() 87 return MAX_UINT(dst_bits); in _mesa_float_to_unorm() 89 return _mesa_lroundevenf(x * MAX_UINT(dst_bits)); in _mesa_float_to_unorm() 108 return (((uint64_t) x * MAX_UINT(dst_bits) + src_half) / in _mesa_unorm_to_unorm() 109 MAX_UINT(src_bits)); in _mesa_unorm_to_unorm() 111 return (x * MAX_UINT(dst_bits) + src_half) / MAX_UINT(src_bits); in _mesa_unorm_to_unorm() 164 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/swiftshader/third_party/llvm-7.0/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 …]
|
D | r600-legalize-umax-bug.ll | 4 ; CHECK: MAX_UINT
|
/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/llvm/lib/Target/AMDGPU/ |
D | R600Instructions.td | 798 def MAX_UINT : R600_2OP_Helper <0x38, "MAX_UINT", umax>;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600Instructions.td | 825 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 | 48 #define UNPACK(SRC, OFFSET, BITS) (((SRC) >> (OFFSET)) & MAX_UINT(BITS))
|