/glibc-2.36/sysdeps/unix/sysv/linux/sparc/sparc32/ |
D | swapcontext.S | 39 st %g0, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_PSR] 41 st %o0, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_PC] 43 st %o0, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_NPC] 45 st %o1, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_Y] 46 st %g1, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G1] 47 st %g2, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G2] 48 st %g3, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G3] 49 st %g4, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G4] 50 st %g5, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G5] 51 st %g6, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G6] [all …]
|
D | setcontext.S | 38 add %i0, UC_SIGMASK, %o1 49 ldub [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_EN], %g1 53 ld [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_FSR], %fsr 54 ldd [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_D0], %f0 55 ldd [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_D2], %f2 56 ldd [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_D4], %f4 57 ldd [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_D6], %f6 58 ldd [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_D8], %f8 59 ldd [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_D10], %f10 60 ldd [%i0 + UC_MCONTEXT + MC_FPREGS + FPU_D12], %f12 [all …]
|
D | getcontext.S | 35 st %g0, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_PSR] 40 st %o0, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_PC] 42 st %o0, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_NPC] 45 st %o1, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_Y] 47 st %g1, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G1] 48 st %g2, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G2] 49 st %g3, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G3] 50 st %g4, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G4] 51 st %g5, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G5] 52 st %g6, [%i0 + UC_MCONTEXT + MC_GREGS + GREG_G6] [all …]
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | s_llrint.c | 40 uint32_t i1, i0; in __llrint() local 46 EXTRACT_WORDS (i0, i1, x); in __llrint() 47 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __llrint() 48 sx = i0 >> 31; in __llrint() 49 i0 &= 0xfffff; in __llrint() 50 i0 |= 0x100000; in __llrint() 56 EXTRACT_WORDS (i0, i1, t); in __llrint() 57 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __llrint() 58 i0 &= 0xfffff; in __llrint() 59 i0 |= 0x100000; in __llrint() [all …]
|
D | s_lrint.c | 40 uint32_t i0, i1; in __lrint() local 46 EXTRACT_WORDS (i0, i1, x); in __lrint() 47 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __lrint() 48 sx = i0 >> 31; in __lrint() 49 i0 &= 0xfffff; in __lrint() 50 i0 |= 0x100000; in __lrint() 56 EXTRACT_WORDS (i0, i1, t); in __lrint() 57 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __lrint() 58 i0 &= 0xfffff; in __lrint() 59 i0 |= 0x100000; in __lrint() [all …]
|
D | s_floor.c | 54 int64_t i0; in __floor() 55 EXTRACT_WORDS64 (i0, x); in __floor() 56 int32_t j0 = ((i0 >> 52) & 0x7ff) - 0x3ff; in __floor() 62 if (i0 >= 0) in __floor() 63 i0 = 0; in __floor() 64 else if ((i0 & 0x7fffffffffffffffl) != 0) in __floor() 65 i0 = 0xbff0000000000000l; in __floor() 70 if ((i0 & i) == 0) in __floor() 72 if (i0 < 0) in __floor() 73 i0 += 0x0010000000000000l >> j0; in __floor() [all …]
|
D | s_ceil.c | 33 int64_t i0, i; in __ceil() 35 EXTRACT_WORDS64 (i0, x); in __ceil() 36 j0 = ((i0 >> 52) & 0x7ff) - 0x3ff; in __ceil() 42 if (i0 < 0) in __ceil() 43 i0 = INT64_C (0x8000000000000000); in __ceil() 44 else if (i0 != 0) in __ceil() 45 i0 = INT64_C (0x3ff0000000000000); in __ceil() 50 if ((i0 & i) == 0) in __ceil() 52 if (i0 > 0) in __ceil() 53 i0 += UINT64_C (0x0010000000000000) >> j0; in __ceil() [all …]
|
D | s_round.c | 35 int64_t i0, j0; in __round() 37 EXTRACT_WORDS64 (i0, x); in __round() 38 j0 = ((i0 >> 52) & 0x7ff) - 0x3ff; in __round() 43 i0 &= UINT64_C (0x8000000000000000); in __round() 45 i0 |= UINT64_C (0x3ff0000000000000); in __round() 50 if ((i0 & i) == 0) in __round() 54 i0 += UINT64_C (0x0008000000000000) >> j0; in __round() 55 i0 &= ~i; in __round() 67 INSERT_WORDS64 (x, i0); in __round()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | s_lrintl.c | 38 uint64_t i0,i1; in __lrintl() local 44 GET_LDOUBLE_WORDS64 (i0, i1, x); in __lrintl() 45 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __lrintl() 46 sx = i0 >> 63; in __lrintl() 47 i0 &= 0x0000ffffffffffffLL; in __lrintl() 48 i0 |= 0x0001000000000000LL; in __lrintl() 70 GET_LDOUBLE_WORDS64 (i0, i1, t); in __lrintl() 71 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __lrintl() 72 i0 &= 0x0000ffffffffffffLL; in __lrintl() 73 i0 |= 0x0001000000000000LL; in __lrintl() [all …]
|
D | s_ceill.c | 39 int64_t i0, i1, j0; in __ceill() 41 GET_LDOUBLE_WORDS64 (i0, i1, x); in __ceill() 42 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __ceill() 48 if (i0 < 0) in __ceill() 50 i0 = 0x8000000000000000ULL; in __ceill() 53 else if ((i0 | i1) != 0) in __ceill() 55 i0 = 0x3fff000000000000ULL; in __ceill() 62 if (((i0 & i) | i1) == 0) in __ceill() 64 if (i0 > 0) in __ceill() 65 i0 += (0x0001000000000000LL) >> j0; in __ceill() [all …]
|
D | s_floorl.c | 39 int64_t i0, i1, j0; in __floorl() 41 GET_LDOUBLE_WORDS64 (i0, i1, x); in __floorl() 42 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __floorl() 48 if (i0 >= 0) in __floorl() 50 i0 = i1 = 0; in __floorl() 52 else if (((i0 & 0x7fffffffffffffffLL) | i1) != 0) in __floorl() 54 i0 = 0xbfff000000000000ULL; in __floorl() 61 if (((i0 & i) | i1) == 0) in __floorl() 63 if (i0 < 0) in __floorl() 64 i0 += (0x0001000000000000LL) >> j0; in __floorl() [all …]
|
D | s_llroundl.c | 31 uint64_t i1, i0; in __llroundl() local 35 GET_LDOUBLE_WORDS64 (i0, i1, x); in __llroundl() 36 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __llroundl() 37 sign = (i0 & 0x8000000000000000ULL) != 0 ? -1 : 1; in __llroundl() 38 i0 &= 0x0000ffffffffffffLL; in __llroundl() 39 i0 |= 0x0001000000000000LL; in __llroundl() 47 i0 += 0x0000800000000000LL >> j0; in __llroundl() 48 result = i0 >> (48 - j0); in __llroundl() 54 result = ((long long int) i0 << (j0 - 48)) | (i1 << (j0 - 112)); in __llroundl() 59 ++i0; in __llroundl() [all …]
|
D | s_lroundl.c | 31 uint64_t i1, i0; in __lroundl() local 35 GET_LDOUBLE_WORDS64 (i0, i1, x); in __lroundl() 36 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __lroundl() 37 sign = (i0 & 0x8000000000000000ULL) != 0 ? -1 : 1; in __lroundl() 38 i0 &= 0x0000ffffffffffffLL; in __lroundl() 39 i0 |= 0x0001000000000000LL; in __lroundl() 49 i0 += 0x0000800000000000LL >> j0; in __lroundl() 50 result = i0 >> (48 - j0); in __lroundl() 61 result = ((long int) i0 << (j0 - 48)) | (i1 << (j0 - 112)); in __lroundl() 66 ++i0; in __lroundl() [all …]
|
D | s_llrintl.c | 38 uint64_t i0,i1; in __llrintl() local 44 GET_LDOUBLE_WORDS64 (i0, i1, x); in __llrintl() 45 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __llrintl() 46 sx = i0 >> 63; in __llrintl() 47 i0 &= 0x0000ffffffffffffLL; in __llrintl() 48 i0 |= 0x0001000000000000LL; in __llrintl() 67 GET_LDOUBLE_WORDS64 (i0, i1, t); in __llrintl() 68 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __llrintl() 69 i0 &= 0x0000ffffffffffffLL; in __llrintl() 70 i0 |= 0x0001000000000000LL; in __llrintl() [all …]
|
D | s_modfl.c | 37 int64_t i0,i1,j0; in __modfl() local 39 GET_LDOUBLE_WORDS64(i0,i1,x); in __modfl() 40 j0 = ((i0>>48)&0x7fff)-0x3fff; /* exponent of x */ in __modfl() 44 SET_LDOUBLE_WORDS64(*iptr,i0&0x8000000000000000ULL,0); in __modfl() 48 if(((i0&i)|i1)==0) { /* x is integral */ in __modfl() 51 SET_LDOUBLE_WORDS64(x,i0&0x8000000000000000ULL,0); in __modfl() 54 SET_LDOUBLE_WORDS64(*iptr,i0&(~i),0); in __modfl() 61 if (j0 == 0x4000 && ((i0 & 0x0000ffffffffffffLL) | i1)) in __modfl() 64 SET_LDOUBLE_WORDS64(x,i0&0x8000000000000000ULL,0); in __modfl() 71 SET_LDOUBLE_WORDS64(x,i0&0x8000000000000000ULL,0); in __modfl() [all …]
|
D | s_roundl.c | 35 uint64_t i1, i0; in __roundl() 37 GET_LDOUBLE_WORDS64 (i0, i1, x); in __roundl() 38 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __roundl() 43 i0 &= 0x8000000000000000ULL; in __roundl() 45 i0 |= 0x3fff000000000000LL; in __roundl() 51 if (((i0 & i) | i1) == 0) in __roundl() 55 i0 += 0x0000800000000000LL >> j0; in __roundl() 56 i0 &= ~i; in __roundl() 77 i0 += 1; in __roundl() 82 SET_LDOUBLE_WORDS64 (x, i0, i1); in __roundl()
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | s_ceilf.c | 28 int32_t i0, j0; in __ceilf() 31 GET_FLOAT_WORD (i0, x); in __ceilf() 32 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __ceilf() 38 if (i0 < 0) in __ceilf() 39 i0 = 0x80000000; in __ceilf() 40 else if (i0 != 0) in __ceilf() 41 i0 = 0x3f800000; in __ceilf() 46 if ((i0 & i) == 0) in __ceilf() 48 if (i0 > 0) in __ceilf() 49 i0 += (0x00800000) >> j0; in __ceilf() [all …]
|
D | s_floorf.c | 35 int32_t i0, j0; in __floorf() 37 GET_FLOAT_WORD (i0, x); in __floorf() 38 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __floorf() 44 if (i0 >= 0) in __floorf() 45 i0 = 0; in __floorf() 46 else if ((i0 & 0x7fffffff) != 0) in __floorf() 47 i0 = 0xbf800000; in __floorf() 52 if ((i0 & i) == 0) in __floorf() 54 if (i0 < 0) in __floorf() 55 i0 += (0x00800000) >> j0; in __floorf() [all …]
|
D | s_lrintf.c | 40 uint32_t i0; in __lrintf() local 46 GET_FLOAT_WORD (i0, x); in __lrintf() 48 sx = i0 >> 31; in __lrintf() 49 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __lrintf() 50 i0 &= 0x7fffff; in __lrintf() 51 i0 |= 0x800000; in __lrintf() 56 result = (long int) i0 << (j0 - 23); in __lrintf() 61 GET_FLOAT_WORD (i0, t); in __lrintf() 62 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __lrintf() 63 i0 &= 0x7fffff; in __lrintf() [all …]
|
D | s_llrintf.c | 40 uint32_t i0; in __llrintf() local 46 GET_FLOAT_WORD (i0, x); in __llrintf() 48 sx = i0 >> 31; in __llrintf() 49 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __llrintf() 50 i0 &= 0x7fffff; in __llrintf() 51 i0 |= 0x800000; in __llrintf() 56 result = (long long int) i0 << (j0 - 23); in __llrintf() 61 GET_FLOAT_WORD (i0, t); in __llrintf() 62 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __llrintf() 63 i0 &= 0x7fffff; in __llrintf() [all …]
|
D | s_roundf.c | 34 int32_t i0, j0; in __roundf() 36 GET_FLOAT_WORD (i0, x); in __roundf() 37 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __roundf() 42 i0 &= 0x80000000; in __roundf() 44 i0 |= 0x3f800000; in __roundf() 49 if ((i0 & i) == 0) in __roundf() 53 i0 += 0x00400000 >> j0; in __roundf() 54 i0 &= ~i; in __roundf() 66 SET_FLOAT_WORD (x, i0); in __roundf()
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_roundl.c | 30 uint32_t se, i1, i0; in __roundl() local 32 GET_LDOUBLE_WORDS (se, i0, i1, x); in __roundl() 39 i0 = i1 = 0; in __roundl() 43 i0 = 0x80000000; in __roundl() 49 if (((i0 & i) | i1) == 0) in __roundl() 53 uint32_t j = i0 + (0x40000000 >> j0); in __roundl() 54 if (j < i0) in __roundl() 56 i0 = (j & ~i) | 0x80000000; in __roundl() 78 uint32_t k = i0 + 1; in __roundl() 79 if (k < i0) in __roundl() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | s_modfl.c | 37 int64_t i0,i1,j0; in __modfl() local 42 EXTRACT_WORDS64 (i0, xhi); in __modfl() 45 j0 = ((i0>>52)&0x7ff)-0x3ff; /* exponent of x */ in __modfl() 49 INSERT_WORDS64 (xhi, i0&0x8000000000000000ULL); in __modfl() 54 if(((i0&i)|(i1&0x7fffffffffffffffLL))==0) { /* x is integral */ in __modfl() 57 INSERT_WORDS64 (xhi, i0&0x8000000000000000ULL); in __modfl() 61 INSERT_WORDS64 (xhi, i0&(~i)); in __modfl() 69 if ((i0 & 0x7fffffffffffffffLL) > 0x7ff0000000000000LL) in __modfl() 72 INSERT_WORDS64 (xhi, i0&0x8000000000000000ULL); in __modfl() 80 INSERT_WORDS64 (xhi, i0&0x8000000000000000ULL); in __modfl() [all …]
|
/glibc-2.36/sysdeps/sparc/sparc64/ |
D | addmul_1.S | 42 sub %i0,%o7,%o4 51 srl %g5,0,%i0 ! zero hi bits 54 mulx %o1,%i0,%i4 ! lo product 55 mulx %i3,%i0,%i1 ! mid-1 product 58 srlx %i4,32,%i0 ! extract high 32 bits of lo product... 59 add %i1,%i0,%i1 ! ...and add it to the mid-1 product 63 sllx %i1,32,%i0 ! align low bits of mid product 66 add %i0,%g5,%i0 ! combine into low 64 bits of result 68 addcc %i0,%o0,%i0 ! add cy_limb to low 64 bits of result 72 addcc %l1,%i0,%i0 [all …]
|
D | submul_1.S | 41 sub %i0,%o7,%o4 50 srl %g5,0,%i0 ! zero hi bits 53 mulx %o1,%i0,%i4 ! lo product 54 mulx %i3,%i0,%i1 ! mid-1 product 57 srlx %i4,32,%i0 ! extract high 32 bits of lo product... 58 add %i1,%i0,%i1 ! ...and add it to the mid-1 product 62 sllx %i1,32,%i0 ! align low bits of mid product 65 add %i0,%g5,%i0 ! combine into low 64 bits of result 67 addcc %i0,%o0,%i0 ! add cy_limb to low 64 bits of result 71 subcc %l1,%i0,%i0 [all …]
|