Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/Common/
DHalf.cpp21 unsigned int fp32i = *(unsigned int*)&fp32; in half() local
22 unsigned int sign = (fp32i & 0x80000000) >> 16; in half()
23 unsigned int abs = fp32i & 0x7FFFFFFF; in half()
53 unsigned int fp32i; in operator float() local
63 fp32i = s << 31; in operator float()
65 return (float&)fp32i; in operator float()
83 fp32i = (s << 31) | (e << 23) | m; in operator float()
85 return (float&)fp32i; in operator float()
/third_party/skia/third_party/externals/swiftshader/src/System/
DHalf.cpp21 unsigned int fp32i = *(unsigned int *)&fp32; in half() local
22 unsigned int sign = (fp32i & 0x80000000) >> 16; in half()
23 unsigned int abs = fp32i & 0x7FFFFFFF; in half()
53 unsigned int fp32i; in operator float() local
63 fp32i = s << 31; in operator float()
65 return (float &)fp32i; in operator float()
83 fp32i = (s << 31) | (e << 23) | m; in operator float()
85 return (float &)fp32i; in operator float()
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DMath.cpp85 uint32_t fp32i = BitCast<uint32_t>(fp32); in Float32ToFloat16() local
86 uint32_t sign16 = (fp32i & 0x80000000) >> 16; in Float32ToFloat16()
87 uint32_t mantissaAndExponent = fp32i & 0x7FFFFFFF; in Float32ToFloat16()
/third_party/skia/third_party/externals/dawn/src/common/
DMath.cpp102 uint32_t fp32i = BitCast<uint32_t>(fp32); in Float32ToFloat16() local
103 uint32_t sign16 = (fp32i & 0x80000000) >> 16; in Float32ToFloat16()
104 uint32_t mantissaAndExponent = fp32i & 0x7FFFFFFF; in Float32ToFloat16()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dmathutil.h194 unsigned int fp32i = bitCast<unsigned int>(fp32); in float32ToFloat16() local
195 unsigned int sign = (fp32i & 0x80000000) >> 16; in float32ToFloat16()
196 unsigned int abs = fp32i & 0x7FFFFFFF; in float32ToFloat16()
/third_party/skia/third_party/externals/angle2/src/common/
Dmathutil.h196 unsigned int fp32i = bitCast<unsigned int>(fp32); in float32ToFloat16() local
197 unsigned int sign = (fp32i & 0x80000000) >> 16; in float32ToFloat16()
198 unsigned int abs = fp32i & 0x7FFFFFFF; in float32ToFloat16()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DReactor.cpp3751 UInt fp32i = As<UInt>(cast); in Half() local
3752 UInt abs = fp32i & 0x7FFFFFFF; in Half()
3753 UShort fp16i((fp32i & 0x80000000) >> 16); // sign in Half()
3800 UInt fp32i(s << 31); in Float() local
3811 fp32i |= As<UInt>(((e + (127 - 15) + 1) << 23) | ((m & ~0x00000400) << 13)); in Float()
3816 fp32i |= As<UInt>(((e + (127 - 15)) << 23) | (m << 13)); in Float()
3819 storeValue(As<Float>(fp32i).value()); in Float()