Home
last modified time | relevance | path

Searched refs:denorm (Results 1 - 14 of 14) sorted by relevance

/third_party/FreeBSD/contrib/gdtoa/
H A Dstrtodg.c325 int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, denorm; local
358 denorm = sign = nz0 = nz = 0;
681 denorm = 1;
807 if (dsign || bbbits > 1 || denorm || rve1 == emin)
819 if (denorm && all_on(rvb, rvbits)) {
825 denorm = 0;
846 if ((bbbits < nbits && !denorm) || !(rvb->x[0] & 1))
870 else if (denorm && bbbits <= 1) {
912 if (!denorm && rvbits < nbits) {
928 if (denorm)
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_float.c61 * float denorm handling of the cpu.
321 * float denorms to floats according to current cpu denorm mode, if in lp_build_smallfloat_to_float()
354 LLVMValueRef exp_one, isdenorm, denorm, normal, exp_adj; in lp_build_smallfloat_to_float() local
356 /* denorm (or zero) if exponent is zero */ in lp_build_smallfloat_to_float()
369 denorm = lp_build_or(&i32_bld, srcabs, magic); in lp_build_smallfloat_to_float()
370 denorm = LLVMBuildBitCast(builder, denorm, f32_bld.vec_type, ""); in lp_build_smallfloat_to_float()
371 denorm = lp_build_sub(&f32_bld, denorm, in lp_build_smallfloat_to_float()
373 denorm in lp_build_smallfloat_to_float()
[all...]
/third_party/mesa3d/src/nouveau/codegen/lib/
H A Dgm107.asm122 // denorm, or 0). Do this by subtracting 1 from the exponent, which will
129 // Process all special values: NaN, inf, denorm, 0
217 // 2) (For the denorm input) The 2^54 we multiplied at rcp_denorm, stored
222 // or <= 0 (denorm). Those cases will be handled respectively below
H A Dgk110.asm108 // denorm, or 0). Do this by subtracting 1 from the exponent, which will
115 // Process all special values: NaN, inf, denorm, 0
190 // 2) (For the denorm input) The 2^54 we multiplied at rcp_denorm, stored
195 // or <= 0 (denorm). Those cases will be handled respectively below
H A Dgk104.asm566 // denorm, or 0). Do this by subtracting 1 from the exponent, which will
573 // Process all special values: NaN, inf, denorm, 0
648 // 2) (For the denorm input) The 2^54 we multiplied at rcp_denorm, stored
653 // or <= 0 (denorm). Those cases will be handled respectively below
/third_party/skia/tests/
H A DSkRasterPipelineTest.cpp90 // Convert to 1-5-10 half with 15 bias, flushing denorm halfs (including zero) to zero. in h()
91 auto denorm = (int32_t)em < 0x38800000; // I32 comparison is often quicker, and always safe in h() local
93 return denorm ? SkTo<uint16_t>(0) in h()
/third_party/python/Python/
H A Ddtoa.c2289 int denorm; in _Py_dg_dtoa() local
2357 denorm = 0; in _Py_dg_dtoa()
2368 denorm = 1; in _Py_dg_dtoa()
2588 denorm ? be + (Bias + (P-1) - 1 + 1) : in _Py_dg_dtoa()
/third_party/mesa3d/src/amd/compiler/
H A Daco_lower_to_hw_instr.cpp1974 bld.sopp(aco_opcode::s_denorm_mode, -1, new_mode.denorm); in emit_set_mode()
1988 bool set_denorm = always_set && block->fp_mode.denorm != config_mode.denorm; in emit_set_mode_from_block()
1993 if (program.blocks[pred].fp_mode.denorm != block->fp_mode.denorm) in emit_set_mode_from_block()
H A Daco_ir.h236 uint8_t denorm : 4; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderPackingFunctionTests.cpp749 const deUint16 value = tcu::Float16::construct(s, exp != 0 ? exp : 1 /* avoid denorm */, static_cast<deUint16>((1u<<10) | mantissa)).bits(); in iterate()
762 const deUint16 value = tcu::Float16(composeHalfFloat(sign, 0u /* force denorm */, mantissa)).bits(); in iterate()
826 const deBool denorm = temp.isDenorm(); in checkValue() local
828 if (conversion != CONVERTED && denorm) in checkValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DMachO.h1513 denorm :1, member
1528 denorm :1, member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DMachO.h1578 unsigned short invalid : 1, denorm : 1, zdiv : 1, ovrfl : 1, undfl : 1, member
1583 unsigned short invalid : 1, denorm : 1, zdiv : 1, ovrfl : 1, undfl : 1, member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderPackingFunctionTests.cpp749 const deUint16 value = tcu::Float16::construct(s, exp != 0 ? exp : 1 /* avoid denorm */, static_cast<deUint16>((1u<<10) | mantissa)).bits(); in iterate()
762 const deUint16 value = tcu::Float16(composeHalfFloat(sign, 0u /* force denorm */, mantissa)).bits(); in iterate()
826 const deBool denorm = temp.isDenorm(); in checkValue() local
828 if (conversion != CONVERTED && denorm) in checkValue()
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h1013 // Convert to 1-8-23 float with 127 bias, flushing denorm halfs (including zero) to zero. in from_half()
1014 auto denorm = (I32)em < 0x0400; // I32 comparison is often quicker, and always safe here. in from_half()
1015 return if_then_else(denorm, F(0) in from_half()
1034 // Convert to 1-5-10 half with 15 bias, flushing denorm halfs (including zero) to zero. in to_half()
1035 auto denorm = (I32)em < 0x38800000; // I32 comparison is often quicker, and always safe here. in to_half()
1036 return pack(if_then_else(denorm, U32(0) in to_half()

Completed in 40 milliseconds