Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_extend.h21 typedef uint32_t src_rep_t; typedef
32 typedef uint64_t src_rep_t; typedef
40 static inline int src_rep_t_clz_impl(src_rep_t a) { return __builtin_clzll(a); } in src_rep_t_clz_impl()
45 typedef __uint128_t src_rep_t; in src_rep_t_clz_impl()
61 typedef uint16_t src_rep_t;
69 static inline int src_rep_t_clz_impl(src_rep_t a) {
81 typedef uint16_t src_rep_t;
133 static inline src_rep_t extract_sign_from_src(src_rep_t x) { in extract_exp_from_src()
134 const src_rep_t srcSignMas in extract_exp_from_src()
54 typedef __uint128_t src_rep_t; global() typedef
70 typedef uint16_t src_rep_t; global() typedef
[all...]
H A Dfp_trunc.h20 typedef uint32_t src_rep_t; typedef
30 typedef uint64_t src_rep_t; typedef
40 typedef __uint128_t src_rep_t; typedef
114 static inline src_rep_t extract_sign_from_src(src_rep_t x) { in extract_sign_from_src()
115 const src_rep_t srcSignMask = SRC_REP_C(1) << (srcBits - 1); in extract_sign_from_src()
119 static inline src_rep_t extract_exp_from_src(src_rep_t x) { in extract_exp_from_src()
121 const src_rep_t srcExpMask = ((SRC_REP_C(1) << srcExpBits) - 1) << srcSigBits; in extract_exp_from_src()
125 static inline src_rep_t extract_sig_frac_from_src(src_rep_t x) { in extract_sig_frac_from_src()
126 const src_rep_t srcSigFracMask = (SRC_REP_C(1) << srcSigFracBits) - 1; in extract_sig_frac_from_src()
142 static inline src_rep_t srcToRep(src_t x) { in srcToRep()
[all …]
H A Dfp_trunc_impl.inc51 const src_rep_t srcMinNormal = SRC_REP_C(1) << srcSigFracBits;
52 const src_rep_t roundMask =
54 const src_rep_t halfway = SRC_REP_C(1)
56 const src_rep_t srcQNaN = SRC_REP_C(1) << (srcSigFracBits - 1);
57 const src_rep_t srcNaNCode = srcQNaN - 1;
66 const src_rep_t aRep = srcToRep(a);
67 const src_rep_t srcSign = extract_sign_from_src(aRep);
68 const src_rep_t srcExp = extract_exp_from_src(aRep);
69 const src_rep_t srcSigFrac = extract_sig_frac_from_src(aRep);
93 const src_rep_t roundBits = srcSigFrac & roundMask;
[all …]
H A Dfp_extend_impl.inc54 const src_rep_t aRep = srcToRep(a);
55 const src_rep_t srcSign = extract_sign_from_src(aRep);
56 const src_rep_t srcExp = extract_exp_from_src(aRep);
57 const src_rep_t srcSigFrac = extract_sig_frac_from_src(aRep);
63 if (srcExp >= 1 && srcExp < (src_rep_t)srcInfExp) {