Home
last modified time | relevance | path

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

/external/swiftshader/src/System/
DHalf.cpp27 fp16i = sign | 0x7FFF; in half()
43 fp16i = sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
47 fp16i = sign | (abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
55 int s = (fp16i >> 15) & 0x00000001; in operator float()
56 int e = (fp16i >> 10) & 0x0000001F; in operator float()
57 int m = fp16i & 0x000003FF; in operator float()
90 fp16i = h.fp16i; in operator =()
DHalf.hpp37 unsigned short fp16i; member in sw::half
/external/swiftshader/src/Common/
DHalf.cpp27 fp16i = sign | 0x7FFF; in half()
43 fp16i = sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
47 fp16i = sign | (abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
55 int s = (fp16i >> 15) & 0x00000001; in operator float()
56 int e = (fp16i >> 10) & 0x0000001F; in operator float()
57 int m = fp16i & 0x000003FF; in operator float()
90 fp16i = h.fp16i; in operator =()
DHalf.hpp32 unsigned short fp16i; member in sw::half
/external/swiftshader/src/Reactor/
DReactor.cpp3757 UShort fp16i((fp32i & 0x80000000) >> 16); // sign in Half() local
3761 fp16i |= UShort(0x7FFF); in Half()
3770 fp16i |= UShort((abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13); in Half()
3774 fp16i |= UShort((abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13); in Half()
3778 storeValue(fp16i.loadValue()); in Half()
3798 Int fp16i(As<UShort>(cast)); in Float() local
3800 Int s = (fp16i >> 15) & 0x00000001; in Float()
3801 Int e = (fp16i >> 10) & 0x0000001F; in Float()
3802 Int m = fp16i & 0x000003FF; in Float()