Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libm/common/
Ds_round.c53 __uint32_t lsw; in round64() local
55 EXTRACT_WORDS(msw, lsw, x); in round64()
68 lsw = 0; in round64()
73 if ((msw & exponent_mask) == 0 && lsw == 0) in round64()
79 lsw = 0; in round64()
95 if ((lsw & exponent_mask) == 0) in round64()
99 tmp = lsw + (1 << (51 - exponent_less_1023)); in round64()
100 if (tmp < lsw) in round64()
102 lsw = tmp; in round64()
104 lsw &= ~exponent_mask; in round64()
[all …]
Ds_fpclassify.c16 __uint32_t msw, lsw; in __fpclassify64() local
18 EXTRACT_WORDS(msw,lsw,x); in __fpclassify64()
21 if (msw == 0x00000000 && lsw == 0x00000000) in __fpclassify64()
28 else if (msw == 0x7ff00000 && lsw == 0x00000000) in __fpclassify64()
Ds_llround.c23 __uint32_t msw, lsw; in llround64() local
26 EXTRACT_WORDS(msw, lsw, x); in llround64()
63 | ((long long int) lsw << (exponent_less_1023 - 52)); in llround64()
67 unsigned int tmp = lsw in llround64()
70 if (tmp < lsw) in llround64()
Ds_lround.c60 __uint32_t msw, lsw; in lround64() local
63 EXTRACT_WORDS(msw, lsw, x); in lround64()
100 | ((long int) lsw << (exponent_less_1023 - 52)); in lround64()
105 __uint32_t tmp = lsw in lround64()
109 if (tmp < lsw) in lround64()
Dfdlibm.h217 __uint32_t lsw; member
230 __uint32_t lsw; member
244 (ix1) = ew_u.parts.lsw; \
262 (i) = gl_u.parts.lsw; \
271 iw_u.parts.lsw = (ix1); \
291 sl_u.parts.lsw = (v); \
/picolibc-latest/newlib/libc/machine/h8500/
Dcmpsi.c25 unsigned short lsw; member
35 unsigned short lsw; member
52 if (u.w.lsw != lsw_b) in __cmpsi2()
54 if (u.w.lsw < lsw_b) return 0; in __cmpsi2()
73 if (u.w.lsw != lsw_b) in __ucmpsi2()
75 if (u.w.lsw < lsw_b) return 0; in __ucmpsi2()
87 unsigned short lsw; member
97 unsigned short lsw; member
116 if (a.w.lsw != b.w.lsw) in __cmppsi2()
118 if (a.w.lsw < b.w.lsw) return 0; in __cmppsi2()
[all …]
Dmulsi3.c23 unsigned int lsw; member
38 return (long)a.s.lsw * b.s.lsw; in __mulsi3()
53 pp1 = (long)a.s.lsw * b.s.lsw ; in __mulsi3()
54 pp2 = (long)a.s.lsw * b.s.msw + (long)a.s.msw * b.s.lsw; in __mulsi3()
/picolibc-latest/newlib/libm/test/
Dtest.c159 if (a->parts.lsw > b->parts.lsw) in bigger()
191 uint32_t msw, lsw; in mag_of_error() local
197 && a.parts.lsw== b.parts.lsw) return 64; in mag_of_error()
210 t = a.parts.lsw; in mag_of_error()
211 a.parts.lsw = b.parts.lsw; in mag_of_error()
212 b.parts.lsw = t; in mag_of_error()
217 __x = (a.parts.lsw) - (b.parts.lsw); in mag_of_error()
218 msw = (a.parts.msw) - (b.parts.msw) - (__x > (a.parts.lsw)); in mag_of_error()
219 lsw = __x; in mag_of_error()
236 if (((lsw) & mask)!=0) return i+32; in mag_of_error()
[all …]
Dmath.c61 fprintf(file, "0x%08lx, 0x%08lx", (unsigned long) bits.parts.msw, (unsigned long) bits.parts.lsw); in translate_to()
67 uint32_t lsw, volatile double *r);
117 thedouble(p->qs[id].msw, p->qs[id].lsw, &correct.value); in ffcheck_id()
146 (unsigned long) correct.parts.lsw, in ffcheck_id()
148 (unsigned long) isbits.parts.lsw, in ffcheck_id()
200 thedouble(p->qs[id].msw,p->qs[id].lsw, &correct_double.value); in fffcheck_id()
234 (unsigned long) (uint32_t) is_double.parts.lsw); in fffcheck_id()
276 uint32_t lsw, volatile double *r) in thedouble() argument
281 x.parts.lsw = lsw; in thedouble()
330 translate_to(f, thedouble(p->qs[0].msw, p->qs[0].lsw, NULL)); in frontline()
[all …]
Dtest_ieee.c104 int lsw) in dnumber() argument
108 v.parts.lsw = lsw; in dnumber()
Dtest.h67 uint32_t lsw; member
108 uint32_t lsw; member
181 uint32_t msw, lsw; member
/picolibc-latest/newlib/libm/ld/
Dmath_private_openbsd.h35 u_int64_t lsw; member
53 u_int64_t lsw; member
67 (ix1) = qw_u.parts64.lsw; \
76 qw_u.parts64.lsw = (ix1); \
105 (v) = sh_u.parts64.lsw; \
214 u_int32_t lsw; member
226 u_int32_t lsw; member
246 (ix1) = ew_u.parts.lsw; \
256 iw_u.parts.lsw = (ix1); \
320 u_int32_t exp, msw, lsw; in isnanl_inline() local
[all …]
/picolibc-latest/newlib/libc/machine/w65/
Dcmpsi.c23 unsigned short lsw; member
40 if (u.w.lsw != lsw_b) in __cmpsi2()
42 if (u.w.lsw < lsw_b) return 0; in __cmpsi2()
/picolibc-latest/newlib/libc/machine/i960/
Dmemcpy_ca.S166 mov MSW,LSW # move msw to lsw
268 ld (g3),LSW # fetch lsw of operand for double shift
276 lda (LSW),MSW # move lsw to msw
279 ld (g3),LSW # pre-fetch lsw of operand for double shift
290 lda (LSW),MSW # move lsw to msw
293 ld (g3),LSW # pre-fetch lsw of operand for double shift
Dstrcmp_ca.S137 mov MSW,LSW # move msw of src1 to lsw
175 mov MSW,LSW # move msw of src1 to lsw
Dstrncmp_ca.S141 mov MSW,LSW # move msw of src1 to lsw
178 mov MSW,LSW # move msw of src1 to lsw
Dmemccpy_ca.S152 mov MSW,LSW # move msw to lsw
167 mov MSW,LSW # move msw to lsw
Dstrncpy_ca.S240 lda (MSW),LSW # move msw to lsw
256 lda (MSW),LSW # move msw to lsw
Dstrncat_ca.S265 mov MSW,LSW # move msw to lsw
286 mov MSW,LSW # move msw to lsw
Dmemcmp_ca.S142 mov MSW,LSW # move msw of src1 to lsw
Dstrcpy_ca.S250 lda (MSW),LSW # move msw to lsw