/glibc-2.36/sysdeps/x86_64/fpu/ |
D | fesetenv.c | 32 fenv_t temp; in __fesetenv() local 39 "stmxcsr %1" : "=m" (*&temp), "=m" (*&temp.__mxcsr)); in __fesetenv() 43 temp.__control_word |= FE_ALL_EXCEPT_X86; in __fesetenv() 44 temp.__control_word &= ~FE_TOWARDZERO; in __fesetenv() 45 temp.__control_word |= _FPU_EXTENDED; in __fesetenv() 46 temp.__status_word &= ~FE_ALL_EXCEPT_X86; in __fesetenv() 47 temp.__eip = 0; in __fesetenv() 48 temp.__cs_selector = 0; in __fesetenv() 49 temp.__opcode = 0; in __fesetenv() 50 temp.__data_offset = 0; in __fesetenv() [all …]
|
D | fraiseexcpt.c | 56 fenv_t temp; in __feraiseexcept() local 60 __asm__ __volatile__ ("fnstenv %0" : "=m" (*&temp)); in __feraiseexcept() 63 temp.__status_word |= FE_OVERFLOW; in __feraiseexcept() 66 __asm__ __volatile__ ("fldenv %0" : : "m" (*&temp)); in __feraiseexcept() 78 fenv_t temp; in __feraiseexcept() local 82 __asm__ __volatile__ ("fnstenv %0" : "=m" (*&temp)); in __feraiseexcept() 85 temp.__status_word |= FE_UNDERFLOW; in __feraiseexcept() 88 __asm__ __volatile__ ("fldenv %0" : : "m" (*&temp)); in __feraiseexcept() 100 fenv_t temp; in __feraiseexcept() local 104 __asm__ __volatile__ ("fnstenv %0" : "=m" (*&temp)); in __feraiseexcept() [all …]
|
/glibc-2.36/sysdeps/i386/fpu/ |
D | fesetenv.c | 35 fenv_t temp; in __fesetenv() local 44 __asm__ ("fnstenv %0" : "=m" (*&temp)); in __fesetenv() 48 temp.__control_word |= FE_ALL_EXCEPT_X86; in __fesetenv() 49 temp.__control_word &= ~FE_TOWARDZERO; in __fesetenv() 50 temp.__control_word |= _FPU_EXTENDED; in __fesetenv() 51 temp.__status_word &= ~FE_ALL_EXCEPT_X86; in __fesetenv() 55 temp.__control_word &= ~(FE_ALL_EXCEPT | FE_TOWARDZERO); in __fesetenv() 57 temp.__control_word |= __FE_DENORM; in __fesetenv() 58 temp.__control_word |= _FPU_EXTENDED; in __fesetenv() 59 temp.__status_word &= ~FE_ALL_EXCEPT_X86; in __fesetenv() [all …]
|
D | fraiseexcpt.c | 53 fenv_t temp; in __feraiseexcept() local 57 __asm__ __volatile__ ("fnstenv %0" : "=m" (*&temp)); in __feraiseexcept() 60 temp.__status_word |= FE_OVERFLOW; in __feraiseexcept() 63 __asm__ __volatile__ ("fldenv %0" : : "m" (*&temp)); in __feraiseexcept() 74 fenv_t temp; in __feraiseexcept() local 78 __asm__ __volatile__ ("fnstenv %0" : "=m" (*&temp)); in __feraiseexcept() 81 temp.__status_word |= FE_UNDERFLOW; in __feraiseexcept() 84 __asm__ __volatile__ ("fldenv %0" : : "m" (*&temp)); in __feraiseexcept() 95 fenv_t temp; in __feraiseexcept() local 99 __asm__ __volatile__ ("fnstenv %0" : "=m" (*&temp)); in __feraiseexcept() [all …]
|
/glibc-2.36/sysdeps/m68k/fpu/ |
D | fesetenv.c | 24 fenv_t temp; in __fesetenv() local 31 __asm__ ("fmove%.l %/fpcr,%0" : "=dm" (temp.__control_register)); in __fesetenv() 32 __asm__ ("fmove%.l %/fpsr,%0" : "=dm" (temp.__status_register)); in __fesetenv() 33 __asm__ ("fmove%.l %/fpiar,%0" : "=dm" (temp.__instruction_address)); in __fesetenv() 35 __asm__ ("fmovem%.l %/fpcr/%/fpsr/%/fpiar,%0" : "=m" (*&temp)); in __fesetenv() 38 temp.__status_register &= ~FE_ALL_EXCEPT; in __fesetenv() 39 temp.__control_register &= ~((FE_ALL_EXCEPT << 6) | FE_UPWARD); in __fesetenv() 43 temp.__control_register |= FE_ALL_EXCEPT << 6; in __fesetenv() 46 temp.__control_register |= (envp->__control_register in __fesetenv() 48 temp.__status_register |= envp->__status_register & FE_ALL_EXCEPT; in __fesetenv() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | e_jnl.c | 77 long double a, b, temp, di, ret; in __ieee754_jnl() local 136 temp = c + s; in __ieee754_jnl() 139 temp = -c + s; in __ieee754_jnl() 142 temp = -c - s; in __ieee754_jnl() 145 temp = c - s; in __ieee754_jnl() 150 b = invsqrtpi * temp / sqrtl (x); in __ieee754_jnl() 158 temp = b; in __ieee754_jnl() 160 a = temp; in __ieee754_jnl() 175 temp = x * 0.5; in __ieee754_jnl() 176 b = temp; in __ieee754_jnl() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | e_jnl.c | 79 long double a, b, temp, di, ret; in __ieee754_jnl() local 143 temp = c + s; in __ieee754_jnl() 146 temp = -c + s; in __ieee754_jnl() 149 temp = -c - s; in __ieee754_jnl() 152 temp = c - s; in __ieee754_jnl() 157 b = invsqrtpi * temp / sqrtl (x); in __ieee754_jnl() 165 temp = b; in __ieee754_jnl() 167 a = temp; in __ieee754_jnl() 182 temp = x * 0.5; in __ieee754_jnl() 183 b = temp; in __ieee754_jnl() [all …]
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | e_jn.c | 59 double a, b, temp, di, ret; in __ieee754_jn() local 109 case 0: temp = c + s; break; in __ieee754_jn() 110 case 1: temp = -c + s; break; in __ieee754_jn() 111 case 2: temp = -c - s; break; in __ieee754_jn() 112 case 3: temp = c - s; break; in __ieee754_jn() 115 b = invsqrtpi * temp / sqrt (x); in __ieee754_jn() 123 temp = b; in __ieee754_jn() 125 a = temp; in __ieee754_jn() 139 temp = x * 0.5; b = temp; in __ieee754_jn() 143 b *= temp; /* b = (x/2)^n */ in __ieee754_jn() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | e_jnl.c | 79 _Float128 a, b, temp, di, ret; in __ieee754_jnl() local 143 temp = c + s; in __ieee754_jnl() 146 temp = -c + s; in __ieee754_jnl() 149 temp = -c - s; in __ieee754_jnl() 152 temp = c - s; in __ieee754_jnl() 157 b = invsqrtpi * temp / sqrtl (x); in __ieee754_jnl() 165 temp = b; in __ieee754_jnl() 167 a = temp; in __ieee754_jnl() 182 temp = x * 0.5; in __ieee754_jnl() 183 b = temp; in __ieee754_jnl() [all …]
|
/glibc-2.36/nptl_db/ |
D | td_thr_tlsbase.c | 64 psaddr_t slot, temp; in dtv_slotinfo() local 74 err = DB_GET_FIELD (temp, ta, slot, dtv_slotinfo_list, len, 0); in dtv_slotinfo() 77 size_t len = (uintptr_t)temp; in dtv_slotinfo() 85 err = DB_GET_FIELD (temp, ta, slot, dtv_slotinfo_list, in dtv_slotinfo() 89 slot = temp; in dtv_slotinfo() 97 err = DB_GET_FIELD_ADDRESS (temp, ta, slot, dtv_slotinfo_list, in dtv_slotinfo() 101 slot = temp; in dtv_slotinfo() 126 psaddr_t dtv, dtvslot, dtvptr, temp; in td_thr_tlsbase() local 152 err = dtv_slotinfo (th->th_ta_p, modid, &temp); in td_thr_tlsbase() 157 err = DB_GET_STRUCT (slot, th->th_ta_p, temp, dtv_slotinfo); in td_thr_tlsbase() [all …]
|
/glibc-2.36/malloc/ |
D | obstack.h | 164 } temp; /* Temporary for some macros. */ member 432 ((h)->temp.tempint = (length), \ 433 (((h)->next_free + (h)->temp.tempint > (h)->chunk_limit) \ 434 ? (_obstack_newchunk ((h), (h)->temp.tempint), 0) : 0)) 437 ((h)->temp.tempint = (length), \ 438 (((h)->next_free + (h)->temp.tempint > (h)->chunk_limit) \ 439 ? (_obstack_newchunk ((h), (h)->temp.tempint), 0) : 0), \ 440 memcpy ((h)->next_free, where, (h)->temp.tempint), \ 441 (h)->next_free += (h)->temp.tempint) 444 ((h)->temp.tempint = (length), \ [all …]
|
/glibc-2.36/elf/ |
D | dl-hwcaps.c | 208 struct r_strlenpair temp[cnt]; in _dl_important_hwcaps() local 213 temp[m].str = _dl_hwcap_string (n); in _dl_important_hwcaps() 214 temp[m].len = strlen (temp[m].str); in _dl_important_hwcaps() 220 temp[m].str = GLRO (dl_platform); in _dl_important_hwcaps() 221 temp[m].len = GLRO (dl_platformlen); in _dl_important_hwcaps() 225 temp[m].str = "tls"; in _dl_important_hwcaps() 226 temp[m].len = 3; in _dl_important_hwcaps() 233 total += temp[0].len + 1; in _dl_important_hwcaps() 236 total += temp[0].len + temp[cnt - 1].len + 2; in _dl_important_hwcaps() 241 total += temp[n].len + 1; in _dl_important_hwcaps() [all …]
|
/glibc-2.36/sysdeps/hppa/fpu/ |
D | fesetenv.c | 24 union { unsigned long long buf[4]; fenv_t env; } temp; in __fesetenv() local 31 bufptr = temp.buf; in __fesetenv() 34 : "=m" (temp) : "r" (bufptr) : "%r0"); in __fesetenv() 36 temp.env.__status_word &= ~(FE_ALL_EXCEPT in __fesetenv() 40 temp.env.__status_word = 0; in __fesetenv() 42 temp.env.__status_word |= FE_ALL_EXCEPT; in __fesetenv() 44 temp.env.__status_word |= (envp->__status_word in __fesetenv() 55 : : "m" (temp), "r" (bufptr) : "%r0" ); in __fesetenv()
|
D | feupdateenv.c | 26 fenv_t temp; in __feupdateenv() local 35 memcpy(&temp, envp, sizeof (fenv_t)); in __feupdateenv() 36 temp.__status_word |= s.sw[0] & (FE_ALL_EXCEPT << 27); in __feupdateenv() 41 temp.__status_word = s.sw[0] & (FE_ALL_EXCEPT << 27); in __feupdateenv() 45 temp.__status_word = (s.sw[0] & (FE_ALL_EXCEPT << 27)) | FE_ALL_EXCEPT; in __feupdateenv() 48 __fesetenv (&temp); in __feupdateenv()
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | e_jnf.c | 36 float a, b, temp, di; in __ieee754_jnf() local 63 temp = b; in __ieee754_jnf() 65 a = temp; in __ieee754_jnf() 75 temp = x*(float)0.5; b = temp; in __ieee754_jnf() 78 b *= temp; /* b = (x/2)^n */ in __ieee754_jnf() 139 temp = b; in __ieee754_jnf() 142 a = temp; in __ieee754_jnf() 147 temp = b; in __ieee754_jnf() 150 a = temp; in __ieee754_jnf() 194 float a, b, temp; in libm_alias_finite() local [all …]
|
/glibc-2.36/sysdeps/csky/fpu/ |
D | fsetexcptflg.c | 26 fpu_control_t temp; in fesetexceptflag() local 29 _FPU_GETFPSR (temp); in fesetexceptflag() 36 temp = ((temp >> CAUSE_SHIFT) & ~excepts) | (*flagp & excepts); in fesetexceptflag() 37 temp = temp << CAUSE_SHIFT; in fesetexceptflag() 39 _FPU_SETFPSR (temp); in fesetexceptflag()
|
/glibc-2.36/libio/ |
D | tst-freopen.c | 44 char temp[strlen (test) + 1]; in do_test_basic() local 57 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic() 59 temp [strlen (test)] = '\0'; in do_test_basic() 61 if (strcmp (test, temp)) in do_test_basic() 63 test, temp); in do_test_basic() 72 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic() 74 temp [strlen (test)] = '\0'; in do_test_basic() 76 if (strcmp (test, temp)) in do_test_basic() 78 test, temp); in do_test_basic()
|
/glibc-2.36/nptl/ |
D | pthread_attr_copy.c | 28 union pthread_attr_transparent temp; in __pthread_attr_copy() local 29 temp.external = *source; in __pthread_attr_copy() 32 temp.internal.extension = NULL; in __pthread_attr_copy() 42 ret = __pthread_attr_setaffinity_np (&temp.external, in __pthread_attr_copy() 48 ret = __pthread_attr_setsigmask_internal ((pthread_attr_t *) &temp, in __pthread_attr_copy() 55 __pthread_attr_destroy (&temp.external); in __pthread_attr_copy() 61 *target = temp.external; in __pthread_attr_copy()
|
/glibc-2.36/sysdeps/s390/fpu/ |
D | fclrexcpt.c | 25 fexcept_t temp; in feclearexcept() local 30 _FPU_GETCW (temp); in feclearexcept() 32 temp &= ~(excepts << FPC_FLAGS_SHIFT); in feclearexcept() 33 if ((temp & FPC_NOT_FPU_EXCEPTION) == 0) in feclearexcept() 37 temp &= ~(excepts << FPC_DXC_SHIFT); in feclearexcept() 40 _FPU_SETCW (temp); in feclearexcept()
|
/glibc-2.36/sysdeps/sh/sh4/fpu/ |
D | feholdexcpt.c | 25 fpu_control_t temp; in __feholdexcept() local 28 _FPU_GETCW (temp); in __feholdexcept() 29 envp->__fpscr = temp; in __feholdexcept() 32 temp &= ~FE_ALL_EXCEPT; in __feholdexcept() 35 temp &= ~(FE_ALL_EXCEPT << 5); in __feholdexcept() 37 _FPU_SETCW (temp); in __feholdexcept()
|
D | fedisblxcpt.c | 25 fpu_control_t temp, old_exc; in fedisableexcept() local 28 _FPU_GETCW (temp); in fedisableexcept() 30 old_exc = (temp >> 5) & FE_ALL_EXCEPT; in fedisableexcept() 34 temp &= ~(excepts << 5); in fedisableexcept() 35 _FPU_SETCW (temp); in fedisableexcept()
|
D | feenablxcpt.c | 25 fpu_control_t temp, old_flag; in feenableexcept() local 28 _FPU_GETCW (temp); in feenableexcept() 30 old_flag = (temp >> 5) & FE_ALL_EXCEPT; in feenableexcept() 33 temp |= excepts << 5; in feenableexcept() 34 _FPU_SETCW (temp); in feenableexcept()
|
D | fsetexcptflg.c | 26 fpu_control_t temp; in fesetexceptflag() local 29 _FPU_GETCW (temp); in fesetexceptflag() 32 temp &= ~(excepts & FE_ALL_EXCEPT); in fesetexceptflag() 33 temp |= (*flagp & excepts & FE_ALL_EXCEPT); in fesetexceptflag() 36 _FPU_SETCW (temp); in fesetexceptflag()
|
/glibc-2.36/stdlib/ |
D | erand48_r.c | 27 union ieee754_double temp; in __erand48_r() local 36 temp.ieee.negative = 0; in __erand48_r() 37 temp.ieee.exponent = IEEE754_DOUBLE_BIAS; in __erand48_r() 38 temp.ieee.mantissa0 = (xsubi[2] << 4) | (xsubi[1] >> 12); in __erand48_r() 39 temp.ieee.mantissa1 = ((xsubi[1] & 0xfff) << 20) | (xsubi[0] << 4); in __erand48_r() 42 *result = temp.d - 1.0; in __erand48_r()
|
/glibc-2.36/sysdeps/x86/fpu/ |
D | test-fenv-x87.c | 68 uint16_t temp; in get_x87_sw() local 69 __asm__ __volatile__ ("fnstsw %0" : "=a" (temp)); in get_x87_sw() 70 return temp; in get_x87_sw() 76 fenv_t temp; in set_x87_sw_bits() local 77 __asm__ __volatile__ ("fnstenv %0" : "=m" (temp)); in set_x87_sw_bits() 78 temp.__status_word = (temp.__status_word & ~mask) | bits; in set_x87_sw_bits() 79 __asm__ __volatile__ ("fldenv %0" : : "m" (temp)); in set_x87_sw_bits()
|