Home
last modified time | relevance | path

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

/external/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()
/external/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()
/external/angle/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()
/external/swiftshader/src/Reactor/
DReactor.cpp3755 UInt fp32i = As<UInt>(cast); in Half() local
3756 UInt abs = fp32i & 0x7FFFFFFF; in Half()
3757 UShort fp16i((fp32i & 0x80000000) >> 16); // sign in Half()
3804 UInt fp32i(s << 31); in Float() local
3815 fp32i |= As<UInt>(((e + (127 - 15) + 1) << 23) | ((m & ~0x00000400) << 13)); in Float()
3820 fp32i |= As<UInt>(((e + (127 - 15)) << 23) | (m << 13)); in Float()
3823 storeValue(As<Float>(fp32i).value()); in Float()