/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ |
D | ultoa_invert.c | 45 ultoa_unsigned_t q; in udivmod10() local 51 q = (n >> 1) + (n >> 2); in udivmod10() 58 q = q + (q >> 4); in udivmod10() 66 q = q + (q >> 8); in udivmod10() 74 q = q + (q >> 16); in udivmod10() 83 q = q + (q >> 32); in udivmod10() 92 q = q >> 3; in udivmod10() 95 r = (char) (n - (((q << 2) + q) << 1)); in udivmod10() 102 q++; in udivmod10() 106 return q; in udivmod10()
|
D | ftoa_ryu.c | 89 const uint32_t q = log10Pow2(e2); in f2d() local 90 e10 = (int32_t) q; in f2d() 91 const int32_t k = FLOAT_POW5_INV_BITCOUNT + pow5bits((int32_t) q) - 1; in f2d() 92 const int32_t i = -e2 + (int32_t) q + k; in f2d() 93 vr = mulPow5InvDivPow2(mv, q, i); in f2d() 94 vp = mulPow5InvDivPow2(mp, q, i); in f2d() 95 vm = mulPow5InvDivPow2(mm, q, i); in f2d() 97 printf("%u * 2^%d / 10^%u\n", mv, e2, q); in f2d() 100 if (q != 0 && (vp - 1) / 10 <= vm / 10) { in f2d() 104 const int32_t l = FLOAT_POW5_INV_BITCOUNT + pow5bits((int32_t) (q - 1)) - 1; in f2d() [all …]
|
D | dtoa_ryu.c | 109 const uint32_t q = log10Pow2(e2) - (e2 > 3); in d2d() local 110 e10 = (int32_t) q; in d2d() 111 const int32_t k = DOUBLE_POW5_INV_BITCOUNT + pow5bits((int32_t) q) - 1; in d2d() 112 const int32_t i = -e2 + (int32_t) q + k; in d2d() 114 __double_computeInvPow5(q, pow5); in d2d() 117 printf("%" PRIu64 " * 2^%d / 10^%u\n", mv, e2, q); in d2d() 120 if (q <= 21) { in d2d() 126 vrIsTrailingZeros = multipleOfPowerOf5(mv, q); in d2d() 131 vmIsTrailingZeros = multipleOfPowerOf5(mv - 1 - mmShift, q); in d2d() 134 vp -= multipleOfPowerOf5(mv + 2, q); in d2d() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/sh/ |
D | setjmp.S | 36 st.q r2, 0*8, r18 37 st.q r2, 1*8, r10 38 st.q r2, 2*8, r11 39 st.q r2, 3*8, r12 40 st.q r2, 4*8, r13 41 st.q r2, 5*8, r14 42 st.q r2, 6*8, r15 43 st.q r2, 7*8, r28 44 st.q r2, 8*8, r29 45 st.q r2, 9*8, r30 [all …]
|
D | strncpy.S | 22 ldlo.q r3, 0, r0 38 stlo.q r2, 0, r0 39 sthi.q r2, 7, r0 41 ldx.q r22, r6, r0 50 stlo.q r22, -8, r0 52 sthi.q r22, -1, r0 53 ldx.q r22, r6, r0 62 ldlo.q r7, -8, r1 63 ldhi.q r7, -1, r7 65 stlo.q r22, -8, r0 [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/ |
D | erf_utils.h | 213 vec_float4 p, q, plast, qlast; \ 218 p = spu_splats(1.945f); q = onef; plast = p; qlast = q; \ 219 p = spu_madd(qlast, spu_mul(v, spu_splats( 4.0f)), plast); q = plast; plast = p; qlast = q; \ 220 p = spu_madd(qlast, spu_mul(v, spu_splats( 3.0f)), plast); q = plast; plast = p; qlast = q; \ 221 p = spu_madd(qlast, spu_mul(v, spu_splats( 2.0f)), plast); q = plast; plast = p; qlast = q; \ 222 p = spu_madd(qlast, spu_mul(v, spu_splats( 1.0f)), plast); q = plast; plast = p; qlast = q; \ 223 p = qlast; q = plast; \ 225 _presult = _divf4(p, spu_mul(factor, q)); \ 230 vec_double2 p, q, plast, qlast; \ 235 p = spu_splats(3.025); q = oned; plast = p; qlast = q; \ [all …]
|
D | expf4.h | 82 vec_float4 q; // range reduced result in _expf4() local 95 q = spu_madd(r,f07,f06); in _expf4() 96 q = spu_madd(q,r,f05); in _expf4() 97 q = spu_madd(q,r,f04); in _expf4() 98 q = spu_madd(q,r,f03); in _expf4() 99 q = spu_madd(q,r,f02); in _expf4() 100 q = spu_madd(q,z,r); in _expf4() 101 q = spu_add(q,spu_splats(1.0f)); in _expf4() 104 r = _ldexpf4( q, n ); in _expf4()
|
D | asind2.h | 110 vec_double2 p, q, pq; in _asind2() local 149 q = spu_add(x2, spu_splats(-14.74091372988853791896)); in _asind2() 150 q = spu_madd(q, x2, spu_splats(70.49610280856842141659)); in _asind2() 151 q = spu_madd(q, x2, spu_splats(-147.1791292232726029859)); in _asind2() 152 q = spu_madd(q, x2, spu_splats(139.5105614657485689735)); in _asind2() 153 q = spu_madd(q, x2, spu_splats(-49.18853881490881290097)); in _asind2() 157 pq = _divd2(p, q); in _asind2()
|
D | acosd2.h | 106 vec_double2 p, q, pq; in _acosd2() local 147 q = spu_add(x2, spu_splats(-14.74091372988853791896)); in _acosd2() 148 q = spu_madd(q, x2, spu_splats(70.49610280856842141659)); in _acosd2() 149 q = spu_madd(q, x2, spu_splats(-147.1791292232726029859)); in _acosd2() 150 q = spu_madd(q, x2, spu_splats(139.5105614657485689735)); in _acosd2() 151 q = spu_madd(q, x2, spu_splats(-49.18853881490881290097)); in _acosd2() 155 pq = _divd2(p, q); in _acosd2()
|
/picolibc-3.7.0-3.6.0/newlib/libc/search/ |
D | tdelete.c | 62 node_t *p, *q, *r; in tdelete() local 77 if ((q = (*rootp)->llink) == NULL) /* Left NULL? */ in tdelete() 78 q = r; in tdelete() 81 r->llink = q; in tdelete() 82 q = r; in tdelete() 84 for (q = r->llink; q->llink != NULL; q = r->llink) in tdelete() 85 r = q; in tdelete() 86 r->llink = q->rlink; in tdelete() 87 q->llink = (*rootp)->llink; in tdelete() 88 q->rlink = (*rootp)->rlink; in tdelete() [all …]
|
D | tsearch.c | 60 node_t *q; in tsearch() local 77 q = malloc(sizeof(node_t)); /* T5: key not found */ in tsearch() 78 if (q != 0) { /* make new node */ in tsearch() 79 *rootp = q; /* link new node to old */ in tsearch() 81 q->key = (void *)vkey; /* initialize new node */ in tsearch() 82 q->llink = q->rlink = NULL; in tsearch() 84 return q; in tsearch()
|
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/ |
D | e_tgammal.c | 217 long double p, q, z; in tgammal() local 228 q = fabsl(x); in tgammal() 230 if( q > 13.0L ) in tgammal() 233 if( q > MAXGAML ) { in tgammal() 240 p = floorl(q); in tgammal() 241 if( p == q ) in tgammal() 246 z = q - p; in tgammal() 250 z = q - p; in tgammal() 252 z = q * sinl( PIL * z ); in tgammal() 253 z = fabsl(z) * stirf(q); in tgammal() [all …]
|
D | s_remquol.c | 55 int ix,iy,n,q,sx,sxy; in remquol() local 79 q = 0; in remquol() 112 q = 0; in remquol() 117 else {hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol() 118 q <<= 1; in remquol() 121 if(hz>=0) {hx=hz;lx=lz;q++;} in remquol() 125 *quo = (sxy ? -q : q); in remquol() 144 if (x+x>y || (x+x==y && (q & 1))) { in remquol() 145 q++; in remquol() 148 } else if (x>0.5L*y || (x==0.5L*y && (q & 1))) { in remquol() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libm/common/ |
D | sf_remquo.c | 40 __uint32_t q,sxy; in remquof() local 55 q = 0; in remquof() 88 q = 0; in remquof() 92 else {hx = hz << 1; q++;} in remquof() 93 q <<= 1; in remquof() 96 if(hz>=0) {hx=hz;q++;} in remquof() 100 *quo = (sxy ? -q : q); in remquof() 117 if (x+x>y || (x+x==y && (q & 1))) { in remquof() 118 q++; in remquof() 121 } else if (x>0.5f*y || (x==0.5f*y && (q & 1))) { in remquof() [all …]
|
D | s_remquo.c | 89 __uint32_t lx,ly,lz,q,sxy; in remquo64() local 106 q = 0; in remquo64() 161 q = 0; in remquo64() 165 else {hx = hz+hz+(lz>>31); lx = lz+lz; q++;} in remquo64() 166 q <<= 1; in remquo64() 169 if(hz>=0) {hx=hz;lx=lz;q++;} in remquo64() 173 q &= QUO_MASK; in remquo64() 174 *quo = (sxy ? -q : q); in remquo64() 198 if (x+x>y || (x+x==y && (q & 1))) { in remquo64() 199 q++; in remquo64() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libc/string/ |
D | wcsstr.c | 68 const wchar_t *q; in wcsstr() local 80 q = little; in wcsstr() 83 q = little; in wcsstr() 85 while (*q) in wcsstr() 87 if (*r != *q) in wcsstr() 89 q++; in wcsstr() 92 if (!*q) in wcsstr()
|
D | wcsspn.c | 63 const wchar_t *q; in wcsspn() local 68 q = set; in wcsspn() 69 while (*q) in wcsspn() 71 if (*p == *q) in wcsspn() 73 q++; in wcsspn() 75 if (!*q) in wcsspn()
|
D | wcspbrk.c | 64 const wchar_t *q; in wcspbrk() local 69 q = set; in wcspbrk() 70 while (*q) in wcspbrk() 72 if (*p == *q) in wcspbrk() 77 q++; in wcspbrk()
|
D | wcscspn.c | 63 const wchar_t *q; in wcscspn() local 68 q = set; in wcscspn() 69 while (*q) in wcscspn() 71 if (*p == *q) in wcscspn() 73 q++; in wcscspn()
|
/picolibc-3.7.0-3.6.0/newlib/libm/math/ |
D | sf_j1.c | 249 const float *p, *q; in ponef() local 256 q = ps8; in ponef() 259 q = ps5; in ponef() 262 q = ps3; in ponef() 265 q = ps2; in ponef() 269 s = one + z * (q[0] + z * (q[1] + z * (q[2] + z * (q[3] + z * q[4])))); in ponef() 357 const float *p, *q; in qonef() local 364 q = qs8; in qonef() 367 q = qs5; in qonef() 370 q = qs3; in qonef() [all …]
|
D | sf_j0.c | 252 const float *p, *q; in pzerof() local 259 q = pS8; in pzerof() 262 q = pS5; in pzerof() 265 q = pS3; in pzerof() 268 q = pS2; in pzerof() 272 s = one + z * (q[0] + z * (q[1] + z * (q[2] + z * (q[3] + z * q[4])))); in pzerof() 360 const float *p, *q; in qzerof() local 367 q = qS8; in qzerof() 370 q = qS5; in qzerof() 373 q = qS3; in qzerof() [all …]
|
D | sf_sqrt.c | 23 __int32_t ix, s, q, m, t, i; in sqrtf() local 56 q = s = 0; /* q = sqrt(x) */ in sqrtf() 64 q += r; in sqrtf() 73 q += (q & 1); in sqrtf() 75 q += 2; in sqrtf() 77 ix = (q >> 1) + 0x3f000000L; in sqrtf()
|
D | s_j0.c | 305 const __float64 *p, *q; in pzero() local 314 q = pS8; in pzero() 317 q = pS5; in pzero() 320 q = pS3; in pzero() 323 q = pS2; in pzero() 327 s = one + z * (q[0] + z * (q[1] + z * (q[2] + z * (q[3] + z * q[4])))); in pzero() 415 const __float64 *p, *q; in qzero() local 424 q = qS8; in qzero() 427 q = qS5; in qzero() 430 q = qS3; in qzero() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld128/ |
D | s_remquol.c | 56 int ix,iy,n,q; in remquol() local 78 q = 0; in remquol() 112 q = 0; in remquol() 117 else {_hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol() 118 q <<= 1; in remquol() 121 if(hz>=0) {_hx=hz;lx=lz;q++;} in remquol() 125 *quo = (sxy ? -q : q); in remquol() 146 if (x+x>y || (x+x==y && (q & 1))) { in remquol() 147 q++; in remquol() 150 } else if (x>0.5L*y || (x==0.5L*y && (q & 1))) { in remquol() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libm/ld/common/ |
D | e_asinl.c | 33 long double t=0.0L,w,p,q,c,r,s; in asinl() local 49 q = Q(t); in asinl() 50 w = p/q; in asinl() 57 q = Q(t); in asinl() 60 w = p/q; in asinl() 67 r = p/q; in asinl() 69 q = pio4_hi-2.0L*w; in asinl() 70 t = pio4_hi-(p-q); in asinl()
|