/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | runtime_fp16.cc | 51 uint32 as_uint() const { return value_; } in as_uint() function in __anona61206850111::AliasedFloatInt 74 unsigned int sign = f.as_uint() & sign_mask; in __gnu_f2h_ieee() 75 f.set_uint(f.as_uint() ^ sign); in __gnu_f2h_ieee() 82 if (f.as_uint() >= in __gnu_f2h_ieee() 83 f16max.as_uint()) { // result is Inf or NaN (all exponent bits set) in __gnu_f2h_ieee() 84 o = (f.as_uint() > f32infty.as_uint()) ? 0x7e00 in __gnu_f2h_ieee() 87 if (f.as_uint() < (113 << 23)) { // resulting FP16 is subnormal or zero in __gnu_f2h_ieee() 94 o = static_cast<uint16>(f.as_uint() - denorm_magic.as_uint()); in __gnu_f2h_ieee() 97 (f.as_uint() >> 13) & 1; // resulting mantissa is odd in __gnu_f2h_ieee() 100 f.set_uint(f.as_uint() + (static_cast<unsigned int>(15 - 127) << 23) + in __gnu_f2h_ieee() [all …]
|
/external/llvm-project/libclc/generic/lib/math/ |
D | clc_fma.cl | 54 st_a.exponent = a == .0f ? 0 : ((as_uint(a) & 0x7f800000) >> 23) - 127; 55 st_b.exponent = b == .0f ? 0 : ((as_uint(b) & 0x7f800000) >> 23) - 127; 56 st_c.exponent = c == .0f ? 0 : ((as_uint(c) & 0x7f800000) >> 23) - 127; 58 st_a.mantissa = a == .0f ? 0 : (as_uint(a) & 0x7fffff) | 0x800000; 59 st_b.mantissa = b == .0f ? 0 : (as_uint(b) & 0x7fffff) | 0x800000; 60 st_c.mantissa = c == .0f ? 0 : (as_uint(c) & 0x7fffff) | 0x800000; 62 st_a.sign = as_uint(a) & 0x80000000; 63 st_b.sign = as_uint(b) & 0x80000000; 64 st_c.sign = as_uint(c) & 0x80000000; 150 return as_float(as_uint(INFINITY) | st_fma.sign);
|
D | asin.cl | 47 uint ux = as_uint(x); 50 float spiby2 = as_float(xs | as_uint(piby2)); 72 float s1 = as_float(as_uint(s) & 0xffff0000); 80 float ret = as_float(xs | as_uint(v));
|
D | asinpi.cl | 48 uint ux = as_uint(x); 51 float shalf = as_float(xs | as_uint(0.5f)); 74 float s1 = as_float(as_uint(s) & 0xffff0000); 84 float ret = as_float(xs | as_uint(v));
|
D | atanpi.cl | 31 uint ux = as_uint(x); 36 float shalf = as_float(sx | as_uint(0.5f)); 90 float zs = as_float(sx | as_uint(z));
|
D | atan.cl | 32 uint ux = as_uint(x); 36 float spiby2 = as_float(sx | as_uint(piby2)); 89 float zs = as_float(sx | as_uint(z));
|
D | cbrt.cl | 31 uint xi = as_uint(x); 39 uint xisub = as_uint(as_float(xi | 0x3f800000) - 1.0f); 81 z = as_float(as_uint(z) | xsign);
|
D | atanh.cl | 29 uint ux = as_uint(x); 44 t = as_float(xs | as_uint(t));
|
D | clc_hypot.cl | 33 uint ux = as_uint(x); 35 uint uy = as_uint(y);
|
D | sinh.cl | 43 uint ux = as_uint(x); 85 z = as_float(xs | as_uint(z)); 91 zsmall = as_float(xs | as_uint(zsmall));
|
D | clc_ldexp.cl | 53 val_ui = as_uint(x); 62 int fbh = 127 - (as_uint((float)(as_float(val_ui | 0x3f800000) - 1.0f)) >> 23);
|
D | log_base.h | 105 uint xi = as_uint(x); in log2() 136 uint xis = as_uint(as_float(xi | 0x3f800000) - 1.0f); in log2()
|
D | tanh.cl | 39 uint ux = as_uint(x); 65 z = as_float(xs | as_uint(z));
|
/external/llvm-project/libclc/generic/lib/shared/ |
D | vstore.cl | 115 const int exp = (as_uint(x) >> 23 & 0xff) - 127; 125 return as_float(as_uint(x) & mask); 132 const int exp = (as_uint(x) >> 23 & 0xff) - 127; 139 const float next = nextafter(as_float(as_uint(x) | mask), inf); 140 return ((as_uint(x) & mask) == 0) ? x : next; 144 return ((as_uint(x) & 0x80000000) == 0) ? __clc_rtz(x) : __clc_rti(x); 148 return ((as_uint(x) & 0x80000000) == 0) ? __clc_rti(x) : __clc_rtz(x); 153 const uint mantissa = (as_uint(x) & 0x7fffff) | (1u << 23); 154 const int exp = (as_uint(x) >> 23 & 0xff) - 127;
|
/external/skia/tools/trace/ |
D | ChromeTracingTracer.cpp | 97 value.as_uint = argValues[i]; in addTraceEvent() 129 value.as_uint = argValues[i]; in addTraceEvent() 156 value.as_uint = argValue; in trace_value_to_json() 160 case TRACE_VALUE_TYPE_UINT: writer->appendU64(value.as_uint); break; in trace_value_to_json() 166 writer->appendString(stringTableBase + value.as_uint); in trace_value_to_json()
|
D | SkDebugfTracer.cpp | 28 value.as_uint = argValues[i]; in addTraceEvent()
|
/external/skqp/tools/trace/ |
D | SkChromeTracingTracer.cpp | 103 value.as_uint = argValues[i]; in addTraceEvent() 135 value.as_uint = argValues[i]; in addTraceEvent() 160 value.as_uint = argValue; in trace_value_to_json() 167 writer->appendU64(value.as_uint); in trace_value_to_json() 182 writer->appendString(stringTableBase + value.as_uint); in trace_value_to_json()
|
D | SkDebugfTracer.cpp | 28 value.as_uint = argValues[i]; in addTraceEvent()
|
/external/llvm-project/libclc/generic/lib/atomic/ |
D | atomic_xchg.cl | 4 return as_float(atomic_xchg((volatile global uint *)p, as_uint(val))); 8 return as_float(atomic_xchg((volatile local uint *)p, as_uint(val)));
|
/external/python/pybind11/tests/ |
D | test_union.py | 8 instance.as_uint = 10
|
/external/webrtc/rtc_base/ |
D | event_tracer.cc | 112 arg.value.as_uint = arg_values[i]; in AddTraceEvent() 236 unsigned long long as_uint; member 294 arg.value.as_uint); in TraceArgValueAsString()
|
/external/libchrome/base/trace_event/ |
D | trace_event_impl.cc | 122 arg_values_[i].as_uint = arg_values[i]; in Initialize() 128 arg_values_[i].as_uint = 0u; in Initialize() 220 StringAppendF(out, "%" PRIu64, static_cast<uint64_t>(value.as_uint)); in AppendValueAsJSON()
|
/external/FP16/include/fp16/ |
D | bitcasts.h | 40 return as_uint(f); in fp32_to_bits()
|
/external/skia/src/core/ |
D | SkTraceEvent.h | 206 uint64_t as_uint; member 235 *value = type_value.as_uint; \
|
/external/skqp/src/core/ |
D | SkTraceEvent.h | 206 uint64_t as_uint; member 235 *value = type_value.as_uint; \
|