Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-to-fp32x2-psimd.cc10 const uint32_t exponentBias = 15; in TEST() local
14 (uint16_t) (h + ((e + exponentBias) << 10) + 0), in TEST()
15 (uint16_t) (h + ((e + exponentBias) << 10) + 1), in TEST()
16 (uint16_t) (h + ((e + exponentBias) << 10) + 2), in TEST()
17 (uint16_t) (h + ((e + exponentBias) << 10) + 3), in TEST()
18 (uint16_t) (h + ((e + exponentBias) << 10) + 4), in TEST()
19 (uint16_t) (h + ((e + exponentBias) << 10) + 5), in TEST()
20 (uint16_t) (h + ((e + exponentBias) << 10) + 6), in TEST()
21 (uint16_t) (h + ((e + exponentBias) << 10) + 7) in TEST()
71 const uint32_t exponentBias = 15; in TEST() local
[all …]
Dalt-to-fp32-psimd.cc10 const uint32_t exponentBias = 15; in TEST() local
14 (uint16_t) (h + ((e + exponentBias) << 10) + 0), in TEST()
15 (uint16_t) (h + ((e + exponentBias) << 10) + 1), in TEST()
16 (uint16_t) (h + ((e + exponentBias) << 10) + 2), in TEST()
17 (uint16_t) (h + ((e + exponentBias) << 10) + 3), in TEST()
46 const uint32_t exponentBias = 15; in TEST() local
50 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8000), in TEST()
51 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8001), in TEST()
52 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8002), in TEST()
53 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8003), in TEST()
Dieee-to-fp32-psimd.cc177 const uint32_t exponentBias = 15; in TEST() local
181 (uint16_t) (h + ((e + exponentBias) << 10) + 0), in TEST()
182 (uint16_t) (h + ((e + exponentBias) << 10) + 1), in TEST()
183 (uint16_t) (h + ((e + exponentBias) << 10) + 2), in TEST()
184 (uint16_t) (h + ((e + exponentBias) << 10) + 3), in TEST()
213 const uint32_t exponentBias = 15; in TEST() local
217 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8000), in TEST()
218 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8001), in TEST()
219 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8002), in TEST()
220 (uint16_t) (h + ((e + exponentBias) << 10) + 0x8003), in TEST()
Dieee-to-fp32x2-psimd.cc306 const uint32_t exponentBias = 15; in TEST() local
310 (uint16_t) (h + ((e + exponentBias) << 10) + 0), in TEST()
311 (uint16_t) (h + ((e + exponentBias) << 10) + 1), in TEST()
312 (uint16_t) (h + ((e + exponentBias) << 10) + 2), in TEST()
313 (uint16_t) (h + ((e + exponentBias) << 10) + 3), in TEST()
314 (uint16_t) (h + ((e + exponentBias) << 10) + 4), in TEST()
315 (uint16_t) (h + ((e + exponentBias) << 10) + 5), in TEST()
316 (uint16_t) (h + ((e + exponentBias) << 10) + 6), in TEST()
317 (uint16_t) (h + ((e + exponentBias) << 10) + 7) in TEST()
367 const uint32_t exponentBias = 15; in TEST() local
[all …]
Dalt-to-fp32-bits.cc214 const uint32_t exponentBias = 15; in TEST() local
217 const uint16_t fp16 = h + ((uint16_t) (e + exponentBias) << 10); in TEST()
229 const uint32_t exponentBias = 15; in TEST() local
232 const uint16_t fp16 = (h + ((uint16_t) (e + exponentBias) << 10)) ^ UINT16_C(0x8000); in TEST()
Dieee-to-fp32-bits.cc284 const uint32_t exponentBias = 15; in TEST() local
287 const uint16_t fp16 = h + ((uint16_t) (e + exponentBias) << 10); in TEST()
299 const uint32_t exponentBias = 15; in TEST() local
302 const uint16_t fp16 = (h + ((uint16_t) (e + exponentBias) << 10)) ^ UINT16_C(0x8000); in TEST()
Dalt-to-fp32-value.cc287 const uint32_t exponentBias = 15; in TEST() local
290 const uint16_t fp16 = h + ((uint16_t) (e + exponentBias) << 10); in TEST()
305 const uint32_t exponentBias = 15; in TEST() local
308 const uint16_t fp16 = (h + ((uint16_t) (e + exponentBias) << 10)) ^ UINT16_C(0x8000); in TEST()
Dieee-to-fp32-value.cc359 const uint32_t exponentBias = 15; in TEST() local
362 const uint16_t fp16 = h + ((uint16_t) (e + exponentBias) << 10); in TEST()
377 const uint32_t exponentBias = 15; in TEST() local
380 const uint16_t fp16 = (h + ((uint16_t) (e + exponentBias) << 10)) ^ UINT16_C(0x8000); in TEST()
/external/FP16/test/peachpy/
Dalt-xmm-to-fp32-ymm-avx2.cc13 const uint32_t exponentBias = 15; in TEST() local
18 fp16[i] = h + ((e + exponentBias) << 10) + i; in TEST()
36 const uint32_t exponentBias = 15; in TEST() local
41 fp16[i] = 0x8000 + h + ((e + exponentBias) << 10) + i; in TEST()
Dalt-xmm-to-fp32-xmm-avx.cc13 const uint32_t exponentBias = 15; in TEST() local
18 fp16[i] = h + ((e + exponentBias) << 10) + i; in TEST()
36 const uint32_t exponentBias = 15; in TEST() local
41 fp16[i] = 0x8000 + h + ((e + exponentBias) << 10) + i; in TEST()
/external/compiler-rt/lib/builtins/
Dfloatunsitf.c36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunsitf()
Dfloatunditf.c36 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatunditf()
Dfloatunsidf.c40 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfloatsidf.c50 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfloatsitf.c45 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatsitf()
Dfloatditf.c45 result += (rep_t)(exponent + exponentBias) << significandBits; in __floatditf()
Dfloatunsisf.c48 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfloatsisf.c56 result += (rep_t)(exponent + exponentBias) << significandBits; in ARM_EABI_FNALIAS()
Dfp_fixuint_impl.inc22 const int exponent = (aAbs >> significandBits) - exponentBias;
Dfp_lib.h219 #define exponentBias (maxExponent >> 1) macro
226 #define oneRep ((rep_t)exponentBias << significandBits)
Dfp_fixint_impl.inc24 const int exponent = (aAbs >> significandBits) - exponentBias;
Ddivsf3.c145 const int writtenExponent = quotientExponent + exponentBias; in ARM_EABI_FNALIAS()
Ddivdf3.c160 const int writtenExponent = quotientExponent + exponentBias; in ARM_EABI_FNALIAS()
Ddivtf3.c178 const int writtenExponent = quotientExponent + exponentBias; in __divtf3()
Dfp_mul_impl.inc78 int productExponent = aExponent + bExponent - exponentBias + scale;