Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dfp_trunc.h42 typedef uint64_t dst_rep_t; typedef
48 typedef uint32_t dst_rep_t; typedef
58 typedef uint16_t dst_rep_t; typedef
64 typedef uint16_t dst_rep_t; typedef
83 static __inline dst_t dstFromRep(dst_rep_t x) { in dstFromRep()
86 dst_rep_t i; in dstFromRep()
H A Dfp_extend.h59 typedef uint32_t dst_rep_t; typedef
65 typedef uint64_t dst_rep_t; typedef
71 typedef __uint128_t dst_rep_t; typedef
90 static __inline dst_t dstFromRep(dst_rep_t x) { in dstFromRep()
93 dst_rep_t i; in dstFromRep()
H A Dfp_extend_impl.inc60 const dst_rep_t dstMinNormal = DST_REP_C(1) << dstSigBits;
66 dst_rep_t absResult;
74 absResult = (dst_rep_t)aAbs << (dstSigBits - srcSigBits);
75 absResult += (dst_rep_t)(dstExpBias - srcExpBias) << dstSigBits;
83 absResult = (dst_rep_t)dstInfExp << dstSigBits;
84 absResult |= (dst_rep_t)(aAbs & srcQNaN) << (dstSigBits - srcSigBits);
85 absResult |= (dst_rep_t)(aAbs & srcNaNCode) << (dstSigBits - srcSigBits);
93 absResult = (dst_rep_t)aAbs << (dstSigBits - srcSigBits + scale);
96 absResult |= (dst_rep_t)resultExponent << dstSigBits;
105 const dst_rep_t result = absResult | (dst_rep_t)sign << (dstBits - srcBits);
H A Dfp_trunc_impl.inc69 const dst_rep_t dstQNaN = DST_REP_C(1) << (dstSigBits - 1);
70 const dst_rep_t dstNaNCode = dstQNaN - 1;
76 dst_rep_t absResult;
83 absResult -= (dst_rep_t)(srcExpBias - dstExpBias) << dstSigBits;
96 absResult = (dst_rep_t)dstInfExp << dstSigBits;
102 absResult = (dst_rep_t)dstInfExp << dstSigBits;
130 const dst_rep_t result = absResult | sign >> (srcBits - dstBits);