| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_half.h | 56 uint16_t f16; local 68 f16 = 0x7c00; 71 f16 = 0x7e00; 79 * all f16 denorms get flushed to zero - hence when this is used 80 * for tgsi_exec in softpipe we won't get f16 denorms. 94 f16 = f32.ui >> 13; 98 f16 |= sign >> 16; 100 return f16; 104 util_half_to_float(uint16_t f16) 115 f32.ui = (f16 & 0x7fff) << 13 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| lower_packing_builtins.cpp | 841 * Let f16 be a float16 value. The sign, exponent, and mantissa 910 * The resultant f16 will also be NaN. 1029 /* uvec2 f16; */ 1030 ir_variable *f16 = factory.make_temp(glsl_type::uvec2_type, local 1049 /* Set f16's exponent and mantissa bits. 1051 * f16.x = pack_half_1x16_nosign(e.x, m.x); 1052 * f16.y = pack_half_1y16_nosign(e.y, m.y); 1054 factory.emit(assign(f16, pack_half_1x16_nosign(swizzle_x(f), 1058 factory.emit(assign(f16, pack_half_1x16_nosign(swizzle_y(f), 1063 /* Set f16's sign bits 1246 ir_variable *f16 = factory.make_temp(glsl_type::uvec2_type, local [all...] |
| ir.h | 2222 uint16_t f16[16]; member in union:ir_constant_data 2238 ir_constant(float16_t f16, unsigned vector_elements=1);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| lower_packing_builtins.cpp | 841 * Let f16 be a float16 value. The sign, exponent, and mantissa 910 * The resultant f16 will also be NaN. 1029 /* uvec2 f16; */ 1030 ir_variable *f16 = factory.make_temp(glsl_type::uvec2_type, local 1049 /* Set f16's exponent and mantissa bits. 1051 * f16.x = pack_half_1x16_nosign(e.x, m.x); 1052 * f16.y = pack_half_1y16_nosign(e.y, m.y); 1054 factory.emit(assign(f16, pack_half_1x16_nosign(swizzle_x(f), 1058 factory.emit(assign(f16, pack_half_1x16_nosign(swizzle_y(f), 1063 /* Set f16's sign bits 1246 ir_variable *f16 = factory.make_temp(glsl_type::uvec2_type, local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3.c | 739 uint16_t f16; member in struct:__anon950 741 { .f32 = 0x00000000, .f16 = 0x0000 }, /* 0.0 */ 742 { .f32 = 0x3f000000, .f16 = 0x3800 }, /* 0.5 */ 743 { .f32 = 0x3f800000, .f16 = 0x3c00 }, /* 1.0 */ 744 { .f32 = 0x40000000, .f16 = 0x4000 }, /* 2.0 */ 745 { .f32 = 0x402df854, .f16 = 0x4170 }, /* e */ 746 { .f32 = 0x40490fdb, .f16 = 0x4248 }, /* pi */ 747 { .f32 = 0x3ea2f983, .f16 = 0x3518 }, /* 1/pi */ 748 { .f32 = 0x3f317218, .f16 = 0x398c }, /* 1/log2(e) */ 749 { .f32 = 0x3fb8aa3b, .f16 = 0x3dc5 }, /* log2(e) * [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_conv.c | 230 LLVMValueRef f16 = lp_build_intrinsic_unary(builder, "llvm.convert.to.fp16", i16t, f32); 232 LLVMValueRef f16 = LLVMBuildCall(builder, func, &f32, 1, ""); local 234 ref_result = LLVMBuildInsertElement(builder, ref_result, f16, index, "");
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/util/ |
| pan_lower_framebuffer.c | 380 nir_ssa_def *f16 = nir_f2fmp(b, f32); local 384 nir_channel(b, f16, 0), 385 nir_channel(b, f16, 1), 386 nir_channel(b, f16, 2),
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_conv.c | 205 LLVMValueRef f16 = lp_build_intrinsic_unary(builder, "llvm.convert.to.fp16", i16t, f32); 207 LLVMValueRef f16 = LLVMBuildCall(builder, func, &f32, 1, ""); local 209 ref_result = LLVMBuildInsertElement(builder, ref_result, f16, index, "");
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| ac_llvm_build.h | 66 LLVMTypeRef f16; member in struct:ac_llvm_context
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| ac_llvm_build.h | 80 LLVMTypeRef f16; member in struct:ac_llvm_context
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/ |
| bifrost_compile.c | 140 bi_index f16 = bi_null(); local 144 f16 = bi_fma_v2f16(b, offset, bi_imm_f16(256.0), 156 f16 = bi_v2f32_to_v2f16(b, f[0], f[1], BI_ROUND_NONE); 159 return bi_v2f16_to_v2s16(b, f16, BI_ROUND_RTZ);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/ |
| midgard.h | 1020 uint16_t f16[8]; member in union:midgard_constants
|