/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | ldbl2mpn.c | 33 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_long_double() argument 44 res_ptr[0] = u.ieee.mantissa3; /* Low-order 32 bits of fraction. */ in __mpn_extract_long_double() 45 res_ptr[1] = u.ieee.mantissa2; in __mpn_extract_long_double() 46 res_ptr[2] = u.ieee.mantissa1; in __mpn_extract_long_double() 47 res_ptr[3] = u.ieee.mantissa0; /* High-order 32 bits. */ in __mpn_extract_long_double() 52 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa2 << 32) | u.ieee.mantissa3; in __mpn_extract_long_double() 53 res_ptr[1] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1; in __mpn_extract_long_double() 66 if (res_ptr[0] == 0 && res_ptr[1] == 0 in __mpn_extract_long_double() 67 && res_ptr[N - 2] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=4. */ in __mpn_extract_long_double() 77 if (res_ptr[N - 1] != 0) in __mpn_extract_long_double() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | ldbl2mpn.c | 38 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_long_double() argument 99 res_ptr[0] = lo >> EXTRA_INTERNAL_PRECISION; in __mpn_extract_long_double() 100 res_ptr[1] = (hi << (53 - 32)) | (lo >> (32 + EXTRA_INTERNAL_PRECISION)); in __mpn_extract_long_double() 101 res_ptr[2] = hi >> 11; in __mpn_extract_long_double() 102 res_ptr[3] = hi >> (32 + 11); in __mpn_extract_long_double() 106 res_ptr[0] = (hi << 53) | (lo >> EXTRA_INTERNAL_PRECISION); in __mpn_extract_long_double() 107 res_ptr[1] = hi >> 11; in __mpn_extract_long_double() 120 if (res_ptr[0] == 0 && res_ptr[1] == 0 in __mpn_extract_long_double() 121 && res_ptr[N - 2] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=4. */ in __mpn_extract_long_double() 134 if (res_ptr[N - 1] != 0) in __mpn_extract_long_double() [all …]
|
/glibc-2.36/sysdeps/x86/ |
D | ldbl2mpn.c | 31 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_long_double() argument 42 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */ in __mpn_extract_long_double() 43 res_ptr[1] = u.ieee.mantissa0; /* High-order 32 bits. */ in __mpn_extract_long_double() 48 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1; in __mpn_extract_long_double() 58 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */ in __mpn_extract_long_double() 72 res_ptr[N - 1] &= ~((mp_limb_t) 1 << ((LDBL_MANT_DIG - 1) % BITS_PER_MP_LIMB)); in __mpn_extract_long_double() 74 if (res_ptr[N - 1] != 0) in __mpn_extract_long_double() 76 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_long_double() 80 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double() 81 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double() [all …]
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | dbl2mpn.c | 30 __mpn_extract_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_double() argument 41 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */ in __mpn_extract_double() 42 res_ptr[1] = u.ieee.mantissa0; /* High-order 20 bits. */ in __mpn_extract_double() 47 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1; in __mpn_extract_double() 60 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */ in __mpn_extract_double() 69 if (res_ptr[N - 1] != 0) in __mpn_extract_double() 71 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_double() 74 res_ptr[N - 1] = res_ptr[1] << cnt in __mpn_extract_double() 76 * (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_double() 77 res_ptr[0] <<= cnt; in __mpn_extract_double() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | ldbl2mpn.c | 32 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_long_double() argument 43 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */ in __mpn_extract_long_double() 44 res_ptr[1] = u.ieee.mantissa0; /* High-order 32 bits. */ in __mpn_extract_long_double() 49 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1; in __mpn_extract_long_double() 59 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */ in __mpn_extract_long_double() 68 if (res_ptr[N - 1] != 0) in __mpn_extract_long_double() 70 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_long_double() 74 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double() 75 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double() 76 res_ptr[0] <<= cnt; in __mpn_extract_long_double() [all …]
|
/glibc-2.36/sysdeps/i386/i586/ |
D | addmul_1.S | 29 #define res_ptr edi macro 37 pushl %res_ptr 46 movl RES(%esp), %res_ptr 47 cfi_rel_offset (res_ptr, 12) 53 leal (%res_ptr,%size,4), %res_ptr 66 movl (%res_ptr,%size,4), %ebp 71 movl %ebp, (%res_ptr,%size,4) 88 popl %res_ptr 90 cfi_restore (res_ptr)
|
D | submul_1.S | 29 #define res_ptr edi macro 37 pushl %res_ptr 46 movl RES(%esp), %res_ptr 47 cfi_rel_offset (res_ptr, 12) 53 leal (%res_ptr,%size,4), %res_ptr 66 movl (%res_ptr,%size,4), %ebp 71 movl %ebp, (%res_ptr,%size,4) 88 popl %res_ptr 90 cfi_restore (res_ptr)
|
D | mul_1.S | 29 #define res_ptr edi macro 37 pushl %res_ptr 46 movl RES(%esp), %res_ptr 47 cfi_rel_offset (res_ptr, 12) 53 leal (%res_ptr,%size,4), %res_ptr 67 movl %ebp, (%res_ptr,%size,4) 84 popl %res_ptr 86 cfi_restore (res_ptr)
|
/glibc-2.36/sysdeps/i386/ |
D | addmul_1.S | 29 #define res_ptr edi macro 37 pushl %res_ptr 46 movl RES(%esp), %res_ptr 47 cfi_rel_offset (res_ptr, 12) 53 leal (%res_ptr,%sizeP,4), %res_ptr 64 addl %eax, (%res_ptr,%sizeP,4) 81 popl %res_ptr 83 cfi_restore (res_ptr)
|
D | mul_1.S | 29 #define res_ptr edi macro 37 pushl %res_ptr 46 movl RES(%esp), %res_ptr 47 cfi_rel_offset (res_ptr, 12) 53 leal (%res_ptr,%size,4), %res_ptr 63 movl %eax, (%res_ptr,%size,4) 80 popl %res_ptr 82 cfi_restore (res_ptr)
|
D | submul_1.S | 29 #define res_ptr edi macro 50 movl RES(%esp), %res_ptr 54 leal (%res_ptr,%sizeP,4), %res_ptr 64 subl %eax, (%res_ptr,%sizeP,4)
|
/glibc-2.36/sysdeps/m68k/m680x0/ |
D | rshift.S | 31 #define res_ptr a1 macro 49 movel MEM_DISP(sp,28),R(res_ptr) 57 cmpl R(res_ptr),R(s_ptr) 60 lea MEM_INDX1(res_ptr,s_size,l,4),R(a2) 64 lea MEM_INDX(res_ptr,d0,l),R(a2) 89 movel R(d1),MEM_POSTINC(res_ptr) 96 movel R(d2),MEM_POSTINC(res_ptr) 104 movel R(d1),MEM(res_ptr) /* store most significant limb */ 126 lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) 131 addl R(s_size),R(res_ptr) [all …]
|
D | lshift.S | 31 #define res_ptr a1 macro 50 movel MEM_DISP(sp,28),R(res_ptr) 58 cmpl R(s_ptr),R(res_ptr) 67 cmpl R(res_ptr),R(a2) 76 lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr) 81 addl R(s_size),R(res_ptr) 100 movel R(d1),MEM_PREDEC(res_ptr) 107 movel R(d2),MEM_PREDEC(res_ptr) 115 movel R(d1),MEM_PREDEC(res_ptr) /* store least significant limb */ 144 movel R(d2),MEM_POSTINC(res_ptr) [all …]
|
/glibc-2.36/stdlib/ |
D | gmp.h | 432 mpn_add_1 (register mp_ptr res_ptr, in mpn_add_1() argument 437 mpn_add_1 (res_ptr, s1_ptr, s1_size, s2_limb) in mpn_add_1() 438 register mp_ptr res_ptr; in mpn_add_1() 448 *res_ptr++ = s2_limb; 454 *res_ptr++ = x; 463 if (res_ptr != s1_ptr) 467 res_ptr[i] = s1_ptr[i]; 474 mpn_add (register mp_ptr res_ptr, in mpn_add() argument 480 mpn_add (res_ptr, s1_ptr, s1_size, s2_ptr, s2_size) in mpn_add() 481 register mp_ptr res_ptr; in mpn_add() [all …]
|
D | submul_1.c | 29 mpn_submul_1 (register mp_ptr res_ptr, register mp_srcptr s1_ptr, in mpn_submul_1() argument 42 res_ptr -= j; in mpn_submul_1() 53 x = res_ptr[j]; in mpn_submul_1() 56 res_ptr[j] = prod_low; in mpn_submul_1()
|
D | addmul_1.c | 29 mpn_addmul_1 (register mp_ptr res_ptr, register mp_srcptr s1_ptr, in mpn_addmul_1() argument 42 res_ptr -= j; in mpn_addmul_1() 53 x = res_ptr[j]; in mpn_addmul_1() 56 res_ptr[j] = prod_low; in mpn_addmul_1()
|
/glibc-2.36/sysdeps/sparc/sparc32/sparcv9/ |
D | addmul_1.S | 23 #define res_ptr %i0 macro 47 lduw [res_ptr + 0x00], tmp3 49 lduw [res_ptr + 0x04], tmp4 54 add res_ptr, 8, res_ptr 57 stw tmp64_1, [res_ptr - 0x08] 61 stw tmp64_2, [res_ptr - 0x04] 70 lduw [res_ptr + 0x00], tmp3 74 stw tmp64_1, [res_ptr + 0x00]
|
D | submul_1.S | 23 #define res_ptr %i0 macro 47 lduw [res_ptr + 0x00], tmp3 49 lduw [res_ptr + 0x04], tmp4 54 add res_ptr, 8, res_ptr 58 stw tmp64_1, [res_ptr - 0x08] 63 stw tmp64_2, [res_ptr - 0x04] 70 lduw [res_ptr + 0x00], tmp3 75 stw tmp64_1, [res_ptr + 0x00]
|
D | mul_1.S | 23 #define res_ptr %o0 macro 47 add res_ptr, 8, res_ptr 49 stw tmp3, [res_ptr - 0x08] 52 stw tmp4, [res_ptr - 0x04] 63 stw tmp3, [res_ptr + 0x00]
|
/glibc-2.36/sysdeps/sparc/sparc64/multiarch/ |
D | addmul_1-vis3.S | 23 #define res_ptr %i0 macro 47 ldx [res_ptr + 0x00], tmp3 49 ldx [res_ptr + 0x08], tmp4 53 add res_ptr, 0x10, res_ptr 61 stx tmp5, [res_ptr - 0x10] 67 stx tmp7, [res_ptr - 0x08] 74 ldx [res_ptr + 0x00], tmp3 81 stx tmp5, [res_ptr + 0x00]
|
D | submul_1-vis3.S | 23 #define res_ptr %i0 macro 47 ldx [res_ptr + 0x00], tmp3 49 ldx [res_ptr + 0x08], tmp4 53 add res_ptr, 0x10, res_ptr 61 stx tmp5, [res_ptr - 0x10] 67 stx tmp7, [res_ptr - 0x08] 74 ldx [res_ptr + 0x00], tmp3 81 stx tmp5, [res_ptr + 0x00]
|
D | add_n-vis3.S | 23 #define res_ptr %o0 macro 45 add res_ptr, 0x10, res_ptr 49 stx tmp1, [res_ptr - 0x10] 52 stx tmp3, [res_ptr - 0x08] 61 stx tmp1, [res_ptr + 0x00]
|
D | sub_n-vis3.S | 23 #define res_ptr %o0 macro 45 add res_ptr, 0x10, res_ptr 50 stx tmp1, [res_ptr - 0x10] 54 stx tmp3, [res_ptr - 0x08] 64 stx tmp1, [res_ptr + 0x00]
|
D | mul_1-vis3.S | 23 #define res_ptr %o0 macro 48 add res_ptr, 0x10, res_ptr 51 stx tmp3, [res_ptr - 0x10] 56 stx tmp1, [res_ptr - 0x08] 67 stx tmp3, [res_ptr + 0x00]
|
/glibc-2.36/sysdeps/alpha/ |
D | addmul_1.S | 23 # res_ptr r16 43 ldq $5,0($16) # $5 = *res_ptr 52 addq $16,8,$16 # res_ptr++ 57 ldq $5,0($16) # $5 = *res_ptr 68 addq $16,8,$16 # res_ptr++ 73 ldq $5,0($16) # $5 = *res_ptr
|