Home
last modified time | relevance | path

Searched refs:xexp (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/libclc/generic/lib/math/
Dclc_hypot.cl42 int xexp = clamp((int)(ux >> EXPSHIFTBITS_SP32) - EXPBIAS_SP32, -126, 126);
43 float fx_exp = as_float((xexp + EXPBIAS_SP32) << EXPSHIFTBITS_SP32);
44 float fi_exp = as_float((-xexp + EXPBIAS_SP32) << EXPSHIFTBITS_SP32);
59 int xexp = ux >> EXPSHIFTBITS_DP64;
66 int c = xexp > EXPBIAS_DP64 + 500 | yexp > EXPBIAS_DP64 + 500;
70 c = xexp < EXPBIAS_DP64 - 500 | yexp < EXPBIAS_DP64 - 500;
82 c = abs(xexp - yexp) > MANTLENGTH_DP64 + 1;
Dasin.cl51 int xexp = (int)(aux >> EXPSHIFTBITS_SP32) - EXPBIAS_SP32;
55 int transform = xexp >= -1;
83 ret = xexp < -14 ? x : ret;
115 int xexp = (as_int2(y).hi >> 20) - EXPBIAS_DP64;
118 int transform = xexp >= -1;
158 v = xexp < -28 ? y : v;
159 v = xexp >= 0 ? as_double(QNANBITPATT_DP64) : v;
Dasinpi.cl53 int xexp = (int)(aux >> EXPSHIFTBITS_SP32) - EXPBIAS_SP32;
58 int transform = xexp >= -1;
87 ret = xexp < -14 ? xbypi : ret;
118 int xexp = (as_int2(y).hi >> 20) - EXPBIAS_DP64;
121 int transform = xexp >= -1;
161 v = xexp < -28 ? y : v;
163 v = xexp >= 0 ? as_double(QNANBITPATT_DP64) : v;
Dacospi.cl53 int xexp = (int)(aux >> EXPSHIFTBITS_SP32) - EXPBIAS_SP32;
58 int transform = xexp >= -1;
87 ret = xexp < -26 ? 0.5f : ret;
117 int xexp = (as_int2(y).hi >> 20) - EXPBIAS_DP64;
120 int transform = xexp >= -1;
164 res1 = xexp >= 0 ? res2 : res1;
165 res1 = xexp < -56 ? 0.5 : res1;
Dacos.cl53 int xexp = (int)(aux >> EXPSHIFTBITS_SP32) - EXPBIAS_SP32;
57 int transform = xexp >= -1;
86 ret = xexp < -26 ? piby2 : ret;
119 int xexp = (as_int2(y).hi >> 20) - EXPBIAS_DP64;
122 int transform = xexp >= -1;
163 z = xexp < -56 ? piby2 : z;
Dlog1p.cl111 int xexp = ((as_int2(ux).hi >> 20) & 0x7ff) - EXPBIAS_DP64;
120 double m2 = as_double(convert_ulong(0x3ff - xexp) << EXPSHIFTBITS_DP64);
123 double f2 = xexp <= MANTLENGTH_DP64-1 ? f2l : f2g;
124 f2 = (xexp <= -2) | (xexp >= MANTLENGTH_DP64+8) ? f2temp : f2;
142 double dxexp = (double)xexp;
Dep_log.cl41 _CLC_DEF void __clc_ep_log(double x, int *xexp, double *r1, double *r2)
57 // Store the exponent of x in xexp and put f into the range [0.5,1)
60 *xexp = near_one ? 0 : xexp1;
Dep_log.h27 _CLC_DECL void __clc_ep_log(double x, int *xexp, double *r1, double *r2);
Dclc_rootn.cl44 // ltt = ((xexp * log2_t) - poly) + logT
47 // lh = (xexp * log2_h) + logH
236 double xexp = (double) exp;
244 xexp = mask_exp_1023 ? xexp1 : xexp;
279 double resT_t = fma(xexp, real_log2_tail, + log_t) - poly;
281 double resH = fma(xexp, real_log2_lead, log_h);
Dclc_powr.cl44 // ltt = ((xexp * log2_t) - poly) + logT
47 // lh = (xexp * log2_h) + logH
237 double xexp = (double) exp;
245 xexp = mask_exp_1023 ? xexp1 : xexp;
280 double resT_t = fma(xexp, real_log2_tail, + log_t) - poly;
282 double resH = fma(xexp, real_log2_lead, log_h);
Dclc_pown.cl44 // ltt = ((xexp * log2_t) - poly) + logT
47 // lh = (xexp * log2_h) + logH
232 double xexp = (double) exp;
240 xexp = mask_exp_1023 ? xexp1 : xexp;
275 double resT_t = fma(xexp, real_log2_tail, + log_t) - poly;
277 double resH = fma(xexp, real_log2_lead, log_h);
Dclc_fmod.cl87 int xexp = convert_int(ax >> EXPSHIFTBITS_DP64);
89 xexp1 = xexp < 1 ? xexp1 : xexp;
178 c = xexp > BIASEDEMAX_DP64;
Dacosh.cl68 int xexp;
70 __clc_ep_log(r, &xexp, &r1, &r2);
72 double dxexp = xexp + xlarge;
Dclc_pow.cl45 ltt = ((xexp * log2_t) - poly) + logT
48 lh = (xexp * log2_h) + logH
248 double xexp = (double) exp;
256 xexp = mask_exp_1023 ? xexp1 : xexp;
291 double resT_t = fma(xexp, real_log2_tail, + log_t) - poly;
293 double resH = fma(xexp, real_log2_lead, log_h);
Dclc_remainder.cl95 int xexp = convert_int(ax >> EXPSHIFTBITS_DP64);
97 xexp1 = xexp < 1 ? xexp1 : xexp;
212 c = xexp > BIASEDEMAX_DP64;
Dclc_remquo.cl120 int xexp = convert_int(ax >> EXPSHIFTBITS_DP64);
122 xexp1 = xexp < 1 ? xexp1 : xexp;
244 c = xexp > BIASEDEMAX_DP64;
Datan2pi.cl86 int xexp = (as_int2(x).hi >> 20) & 0x7ff;
92 int cond2 = (xexp < 1021) & (yexp < 1021);
93 int diffexp = yexp - xexp;
Dlog_base.h252 int xexp = ((as_int2(ux).hi >> 20) & 0x7ff) - EXPBIAS_DP64 - expadjust; in log2() local
273 double dxexp = (double)xexp; in log2()
Datan2.cl101 int xexp = (as_int2(x).hi >> 20) & 0x7ff;
107 int cond2 = (xexp < 1021) & (yexp < 1021);
108 int diffexp = yexp - xexp;
Dasinh.cl264 int xexp;
265 __clc_ep_log(y, &xexp, &r1, &r2);
267 double dxexp = (double)(xexp + xout);
/external/iproute2/ip/
Dxfrm_state.c918 struct xfrm_user_expire *xexp = NULL; in xfrm_state_print() local
936 xexp = NLMSG_DATA(n); in xfrm_state_print()
937 xsinfo = &xexp->state; in xfrm_state_print()
938 len -= NLMSG_SPACE(sizeof(*xexp)); in xfrm_state_print()
940 xexp = NULL; in xfrm_state_print()
963 rta = XFRMEXP_RTA(xexp); in xfrm_state_print()
987 fprintf(fp, "hard %u", xexp->hard); in xfrm_state_print()