Home
last modified time | relevance | path

Searched refs:res_ptr (Results 1 – 25 of 52) sorted by relevance

123

/sysdeps/ieee754/ldbl-128/
A Dldbl2mpn.c66 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()
81 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double()
91 res_ptr[N - 1] = res_ptr[0] << (cnt - NUM_LEADING_ZEROS); in __mpn_extract_long_double()
92 res_ptr[0] = 0; in __mpn_extract_long_double()
96 res_ptr[N - 1] = res_ptr[0] >> (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double()
106 if (res_ptr[j] != 0) in __mpn_extract_long_double()
119 res_ptr[k] = res_ptr[k-l]; in __mpn_extract_long_double()
123 res_ptr[k] = res_ptr[k-l] << cnt in __mpn_extract_long_double()
125 res_ptr[k--] = res_ptr[0] << cnt; in __mpn_extract_long_double()
[all …]
/sysdeps/x86/
A Dldbl2mpn.c58 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */ in __mpn_extract_long_double()
74 if (res_ptr[N - 1] != 0) in __mpn_extract_long_double()
80 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double()
82 res_ptr[0] <<= cnt; in __mpn_extract_long_double()
84 res_ptr[N - 1] <<= cnt; in __mpn_extract_long_double()
89 else if (res_ptr[0] != 0) in __mpn_extract_long_double()
92 res_ptr[N - 1] = res_ptr[0] << cnt; in __mpn_extract_long_double()
93 res_ptr[0] = 0; in __mpn_extract_long_double()
103 res_ptr[N - 1] = 0x80000000ul; in __mpn_extract_long_double()
113 && res_ptr[0] == 0 in __mpn_extract_long_double()
[all …]
/sysdeps/ieee754/dbl-64/
A Ddbl2mpn.c30 __mpn_extract_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_double() argument
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()
77 res_ptr[0] <<= cnt; in __mpn_extract_double()
79 res_ptr[N - 1] <<= cnt; in __mpn_extract_double()
85 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_double()
88 res_ptr[N - 1] = res_ptr[0] << (cnt - NUM_LEADING_ZEROS); in __mpn_extract_double()
89 res_ptr[0] = 0; in __mpn_extract_double()
[all …]
/sysdeps/ieee754/ldbl-96/
A Dldbl2mpn.c32 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_long_double() argument
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()
78 res_ptr[N - 1] <<= cnt; in __mpn_extract_long_double()
85 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_long_double()
86 res_ptr[N - 1] = res_ptr[0] << cnt; in __mpn_extract_long_double()
[all …]
/sysdeps/ieee754/ldbl-128ibm/
A Dldbl2mpn.c101 res_ptr[2] = 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()
138 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double()
148 res_ptr[N - 1] = res_ptr[0] << (cnt - NUM_LEADING_ZEROS); in __mpn_extract_long_double()
149 res_ptr[0] = 0; in __mpn_extract_long_double()
153 res_ptr[N - 1] = res_ptr[0] >> (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double()
176 res_ptr[k] = res_ptr[k-l]; in __mpn_extract_long_double()
180 res_ptr[k] = res_ptr[k-l] << cnt in __mpn_extract_long_double()
182 res_ptr[k--] = res_ptr[0] << cnt; in __mpn_extract_long_double()
[all …]
/sysdeps/i386/i586/
A Daddmul_1.S29 #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)
A Dsubmul_1.S29 #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)
A Dmul_1.S29 #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)
/sysdeps/i386/
A Dmul_1.S29 #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)
A Daddmul_1.S29 #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)
A Dsubmul_1.S29 #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)
/sysdeps/m68k/m680x0/
A Drshift.S31 #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)
126 lea MEM_INDX1(res_ptr,s_size,l,4),R(res_ptr)
131 addl R(s_size),R(res_ptr)
143 movel R(d2),MEM_PREDEC(res_ptr)
[all …]
A Dlshift.S31 #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 …]
/sysdeps/sparc/sparc64/multiarch/
A Dsubmul_1-vis3.S23 #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]
A Daddmul_1-vis3.S23 #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]
A Dadd_n-vis3.S23 #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]
A Dsub_n-vis3.S23 #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]
A Dmul_1-vis3.S23 #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]
/sysdeps/sparc/sparc32/sparcv9/
A Daddmul_1.S23 #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]
A Dsubmul_1.S23 #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]
A Dmul_1.S23 #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]
/sysdeps/m68k/m680x0/m68020/
A Dmul_1.S35 #define res_ptr a0 macro
48 movel MEM_DISP(sp,16),R(res_ptr)
64 movel R(d3),MEM_POSTINC(res_ptr)
68 movel R(d3),MEM_POSTINC(res_ptr)
A Daddmul_1.S35 #define res_ptr a0 macro
49 movel MEM_DISP(sp,20),R(res_ptr)
67 addl R(d3),MEM_POSTINC(res_ptr)
72 addl R(d3),MEM_POSTINC(res_ptr)
/sysdeps/alpha/
A Daddmul_1.S23 # 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
A Dsubmul_1.S23 # 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

Completed in 17 milliseconds

123