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/swiftshader/src/Reactor/
DLLVMReactor.cpp6067 UInt fp32i = As<UInt>(cast); in Half() local
6068 UInt abs = fp32i & 0x7FFFFFFF; in Half()
6069 UShort fp16i((fp32i & 0x80000000) >> 16); // sign in Half()
6121 UInt fp32i(s << 31); in Float() local
6132 fp32i |= As<UInt>(((e + (127 - 15) + 1) << 23) | ((m & ~0x00000400) << 13)); in Float()
6137 fp32i |= As<UInt>(((e + (127 - 15)) << 23) | (m << 13)); in Float()
6140 storeValue(As<Float>(fp32i).value); in Float()
DSubzeroReactor.cpp6392 UInt fp32i = As<UInt>(cast); in Half() local
6393 UInt abs = fp32i & 0x7FFFFFFF; in Half()
6394 UShort fp16i((fp32i & 0x80000000) >> 16); // sign in Half()
6446 UInt fp32i(s << 31); in Float() local
6457 fp32i |= As<UInt>(((e + (127 - 15) + 1) << 23) | ((m & ~0x00000400) << 13)); in Float()
6462 fp32i |= As<UInt>(((e + (127 - 15)) << 23) | (m << 13)); in Float()
6465 storeValue(As<Float>(fp32i).value); in Float()