Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DFloat16bits.cpp28 const uint32_t kF32HalfMantiBitDiff = 13; variable
64 (f.u >> kF32HalfMantiBitDiff) & 1; // Resulting mantissa is odd. in float2half()
72 halfValue = static_cast<uint16_t>(f.u >> kF32HalfMantiBitDiff); in float2half()
84 0x7c00 << kF32HalfMantiBitDiff; // Exponent mask after shift. in half2float()
88 static_cast<uint32_t>((halfValue & 0x7fff) << kF32HalfMantiBitDiff)}; in half2float()