Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 56) sorted by relevance

123

/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/
Dtree.h88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
89 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
90 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
91 (head)->sph_root = tmp; \
94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
95 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
96 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
97 (head)->sph_root = tmp; \
100 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
101 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/aarch64/
Dstrcmp.S35 #define tmp x6 macro
61 and tmp, src1, 7
64 cbnz tmp, L(mutual_align)
73 rev tmp, data1
74 sub has_nul, tmp, zeroones
75 orr tmp, tmp, REP8_7f
78 orr tmp, data1, REP8_7f
80 bics has_nul, has_nul, tmp /* Non-zero if NUL terminator. */
117 mov tmp, -1
118 LS_FW tmp, tmp, shift
[all …]
Dmemchr.S27 #define tmp x4 macro
78 sub tmp, soff, #32
79 adds cntin, cntin, tmp
88 lsl tmp, soff, #1
89 lsr synd, synd, tmp
90 lsl synd, synd, tmp
122 add tmp, cntrem, soff
123 and tmp, tmp, #31
124 sub tmp, tmp, #32
125 neg tmp, tmp, lsl #1
[all …]
Dmemcmp.S31 #define tmp x6 macro
141 and tmp, src2, 15
142 sub tmp, tmp, 16
143 sub src2, src2, tmp
144 add limit, limit, tmp
145 sub src1, src1, tmp
167 fmov tmp, d0
168 ccmp tmp, 0, 0, hi
173 cbz tmp, L(last64)
177 rev16 tmp, tmp
[all …]
Dstrcpy.S49 #define tmp x5 macro
100 sub tmp, src, srcin
102 add len, tmp, len, lsr 2
104 sub tmp, len, 15
106 ldr dataq2, [srcin, tmp]
108 str dataq2, [dstin, tmp]
118 sub tmp, len, 7
120 ldr data2, [srcin, tmp]
122 str data2, [dstin, tmp]
128 subs tmp, len, 3
[all …]
Dmemrchr.S28 #define tmp x7 macro
100 add tmp, src, 15
105 sub tmp, tmp, synd, lsr 2
106 cmp tmp, srcin
107 csel result, tmp, xzr, hs
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dexp2.c54 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
63 y = 2 * (scale + scale * tmp); in specialcase()
69 y = scale + scale * tmp; in specialcase()
77 lo = scale - y + scale * tmp; in specialcase()
104 double_t kd, r, r2, scale, tail, tmp; in exp2() local
147 tmp = tail + r * C1 + r2 * C2 + r * r2 * (C3 + r * C4); in exp2()
149 tmp = tail + r * C1 + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); in exp2()
151 tmp = tail + r * C1 + r2 * (0.5 + r * C3) + r2 * r2 * (C4 + r * C5 + r2 * C6); in exp2()
154 return specialcase (tmp, sbits, ki); in exp2()
158 return scale + scale * tmp; in exp2()
Dexp.c56 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
65 y = 0x1p1009 * (scale + scale * tmp); in specialcase()
71 y = scale + scale * tmp; in specialcase()
79 lo = scale - y + scale * tmp; in specialcase()
106 double_t kd, z, r, r2, scale, tail, tmp; in exp() local
160 tmp = tail + r + r2 * C2 + r * r2 * (C3 + r * C4); in exp()
162 tmp = tail + r + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); in exp()
164 tmp = tail + r + r2 * (0.5 + r * C3) + r2 * r2 * (C4 + r * C5 + r2 * C6); in exp()
167 return specialcase (tmp, sbits, ki); in exp()
171 return scale + scale * tmp; in exp()
Dsf_log.c55 uint32_t ix, iz, tmp; in logf() local
81 tmp = ix - OFF; in logf()
82 i = (tmp >> (23 - LOGF_TABLE_BITS)) % N; in logf()
83 k = (int32_t) tmp >> 23; /* arithmetic shift */ in logf()
84 iz = ix - (tmp & (uint32_t) 0x1ff << 23); in logf()
Dsf_log2.c54 uint32_t ix, iz, top, tmp; in log2f() local
80 tmp = ix - OFF; in log2f()
81 i = (tmp >> (23 - LOG2F_TABLE_BITS)) % N; in log2f()
82 top = tmp & 0xff800000; in log2f()
84 k = (int32_t) tmp >> 23; /* arithmetic shift */ in log2f()
Ds_round.c93 __uint32_t tmp; in round64() local
99 tmp = lsw + (1 << (51 - exponent_less_1023)); in round64()
100 if (tmp < lsw) in round64()
102 lsw = tmp; in round64()
Dpow.c64 uint64_t iz, tmp; in log_inline() local
70 tmp = ix - OFF; in log_inline()
71 i = (tmp >> (52 - POW_LOG_TABLE_BITS)) % N; in log_inline()
72 k = (int64_t) tmp >> 52; /* arithmetic shift */ in log_inline()
73 iz = ix - (tmp & 0xfffULL << 52); in log_inline()
151 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
160 y = 0x1p1009 * (scale + scale * tmp); in specialcase()
167 y = scale + scale * tmp; in specialcase()
181 lo = scale - y + scale * tmp; in specialcase()
205 double_t kd, z, r, r2, scale, tail, tmp; in exp_inline() local
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dl64a.c35 unsigned long tmp = (unsigned long)value & 0xffffffff; in l64a() local
43 if (tmp == 0) in l64a()
49 index = tmp & (64 - 1); in l64a()
51 tmp >>= 6; in l64a()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dstack_reg_va.S84 #define tmp $74 macro
107 il tmp, -(SPE_STACK_REGS+2+3)*16
108 a code_ptr, $sp, tmp
109 lqr tmp, save_regs_1 /* store stack code */
110 stqd tmp, 0(code_ptr)
162 ceqbi tmp, inst, 3 /* if (reg-num == 3) tmp = 0x000000FF 000..0 */
166 brz tmp, save_regs_1 /* if (tmp == 0) jump */
Dea_internal.h76 size_ea_t tmp = (size_ea_t) x; in round_down_128_ea() local
77 tmp &= (~127); in round_down_128_ea()
78 return (__ea void*)tmp; in round_down_128_ea()
84 size_ea_t tmp = (size_ea_t) x; in round_up_next_128_ea() local
85 tmp += 128; in round_up_next_128_ea()
86 tmp &= (~127); in round_up_next_128_ea()
87 return (__ea void*)tmp; in round_up_next_128_ea()
/picolibc-3.7.0-3.6.0/test/libc-testsuite/
Dbasename.c31 tmp = strdup((p)); \
32 s = basename(tmp); \
38 free(tmp); \
43 char *tmp, *s; in test_basename() local
Ddirname.c31 tmp = strdup((p)); \
32 s = dirname (tmp); \
38 free(tmp); \
43 char *tmp, *s; in test_dirname() local
/picolibc-3.7.0-3.6.0/newlib/libc/locale/
Dlnumeric.c75 struct __lc_cats tmp = locale->lc_cat[LC_NUMERIC]; in __numeric_load_locale() local
79 if (tmp.buf) in __numeric_load_locale()
81 free ((void *) tmp.ptr); in __numeric_load_locale()
82 free (tmp.buf); in __numeric_load_locale()
Dlmessages.c81 struct __lc_cats tmp = locale->lc_cat[LC_MESSAGES]; in __messages_load_locale() local
85 if (tmp.buf) in __messages_load_locale()
87 free ((void *) tmp.ptr); in __messages_load_locale()
88 free (tmp.buf); in __messages_load_locale()
Dlctype.c88 struct __lc_cats tmp = locale->lc_cat[LC_CTYPE]; in __ctype_load_locale() local
92 if (tmp.buf) in __ctype_load_locale()
94 free ((void *) tmp.ptr); in __ctype_load_locale()
95 free (tmp.buf); in __ctype_load_locale()
Dlmonetary.c106 struct __lc_cats tmp = locale->lc_cat[LC_MONETARY]; in __monetary_load_locale() local
110 if (tmp.buf) in __monetary_load_locale()
112 free ((void *) tmp.ptr); in __monetary_load_locale()
113 free (tmp.buf); in __monetary_load_locale()
Dtimelocal.c177 struct __lc_cats tmp = locale->lc_cat[LC_TIME]; in __time_load_locale() local
181 if (tmp.buf) in __time_load_locale()
183 free ((void *) tmp.ptr); in __time_load_locale()
184 free (tmp.buf); in __time_load_locale()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/arm/
Dmemchr.S100 #define tmp r3 macro
147 ldrb tmp, [srcin], #1
148 cmp tmp, chrin
161 movw tmp, #0x0201
162 movt tmp, #0x0804
163 lsl soff, tmp, #4
164 vmov vrepmask0, tmp, soff
165 vmov vrepmask1, tmp, soff
177 sub tmp, soff, #32
178 adds cntin, cntin, tmp
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/math/
Dsf_jn.c107 float q0, q1, h, tmp; in jnf() local
118 tmp = z * q1 - q0; in jnf()
120 q1 = tmp; in jnf()
135 tmp = n; in jnf()
137 tmp = tmp * logf(fabsf(v * tmp)); in jnf()
138 if (tmp < (float)8.8721679688e+01) { in jnf()
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dmemmem.c143 size_t tmp, shift1; in memmem() local
161 tmp = shift[hash2 (hs)]; in memmem()
163 while (hs <= end && tmp == 0); in memmem()
167 hs -= tmp; in memmem()
168 if (tmp < m1) in memmem()

123