/picolibc-3.7.0-3.6.0/newlib/libc/machine/arm/ |
D | strcmp-armv6.S | 51 #define tmp1 r4 macro 60 #define syndrome_a tmp1 78 clz tmp1, \synd 79 lsl r1, \d2, tmp1 85 lsl \d1, \d1, tmp1 97 clz tmp1, \synd 98 bic tmp1, tmp1, #7 99 lsr r1, \d2, tmp1 106 lsr \d1, \d1, tmp1 140 orr tmp1, src1, src2 [all …]
|
D | strcmp-armv7.S | 56 #define tmp1 r4 macro 65 #define syndrome_a tmp1 83 clz tmp1, \synd 84 lsl r1, \d2, tmp1 90 lsl \d1, \d1, tmp1 103 clz tmp1, \synd 104 bic tmp1, tmp1, #7 105 lsr r1, \d2, tmp1 112 lsr \d1, \d1, tmp1 144 orr tmp1, src1, src2 [all …]
|
D | memcpy-armv7a.S | 87 #define tmp1 r3 macro 165 and tmp1, count, #0x38 166 rsb tmp1, tmp1, #(56 - PC_OFFSET + INSN_SIZE) 167 add pc, pc, tmp1 184 ldrne tmp1, [src], #4 185 strne tmp1, [dst], #4 189 and tmp1, count, #0x3c 190 add dst, dst, tmp1 191 add src, src, tmp1 192 rsb tmp1, tmp1, #(60 - PC_OFFSET/2 + INSN_SIZE/2) [all …]
|
D | strcmp-armv4.S | 43 #define tmp1 r12 macro 62 eor tmp1, src1, src2 63 tst tmp1, #3 66 ands tmp1, src1, #3 77 eor tmp1, tmp1, #3 79 lsl tmp1, tmp1, #3 80 S2LO tmp1, data2, tmp1 82 orr data1, data1, tmp1 83 orr data2, data2, tmp1
|
D | strcmp-armv7m.S | 43 #define tmp1 r12 macro 53 eor tmp1, src1, src2 54 tst tmp1, #3 57 ands tmp1, src1, #3 69 eor tmp1, tmp1, #3 71 lsl tmp1, tmp1, #3 72 S2LO tmp1, data2, tmp1 74 orr data1, data1, tmp1 75 orr data2, data2, tmp1
|
D | strlen-armv7.S | 103 #define tmp1 r4 /* Overlaps const_0 */ macro 113 ands tmp1, srcin, #7 /* (8 - bytes) to alignment. */ 175 and tmp2, tmp1, #3 176 rsb result, tmp1, #0 178 tst tmp1, #4
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/hppa/ |
D | memcpy.S | 27 #define tmp1 r19 macro 39 extru s_addr,31,2,tmp1 /* Extract the low two bits of the source address. */ 42 comb,<> tmp2,tmp1,not_aligned /* see if s1 is aligned w.r.t. s2. */ 54 ldwm 16(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 16 */ 59 …stbys,b,m tmp1,4(0,d_addr) /* tmp1 = 1st word stored d_addr += 16 also take care of front porc… 69 ldws,ma 4(s_addr),tmp1 /* tmp1 = *s_addr++ */ 71 stbys,b,m tmp1,4(d_addr) /* *d_addr++ = tmp1 */ 76 ldws 0(s_addr),tmp1 /* load up the back_porch */ 79 stbys,e tmp1,0(d_addr) /* kerplunk! whew ! */ 83 …sub,>= tmp2,tmp1,tmp3 /* compute the shift quantity again and skip the load if tmp2 > tm… [all …]
|
D | strncpy.S | 29 #define tmp1 r19 macro 43 extru s_addr,31,2,tmp1 /* Extract the low two bits of the source address.*/ 46 comb,<> tmp5,tmp1,not_aligned /* branch if tmp5<>tmp1. */ 50 ldwm 4(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 4 (DELAY SLOT)*/ 55 or save,tmp1,tmp1 /* or mask with data*/ 58 ldwm 4(0,s_addr),tmp1 /* get a word*/ 61 uxor,nbz tmp1,r0,save /* check for null*/ 64 stbys,b,m tmp1,4(0,d_addr) /* store word (delay slot)*/ 68 ldws 0(s_addr),tmp1 /* load up the back_porch*/ 74 or tmp1,save,tmp1 /*and insert data*/ [all …]
|
D | strlen.S | 21 #define tmp1 arg1 macro 30 ldws,ma 4(end),tmp1 32 uxor,nbz 0,tmp1,0 54 vdepi -1,32,tmp1 55 uxor,nbz 0,tmp1,0 58 ldws,ma 4(end),tmp1 60 uxor,nbz 0,tmp1,0 63 extru,<> tmp1,7,8,0 65 extru,<> tmp1,15,8,0 67 extru,<> tmp1,23,8,0
|
D | strncat.S | 24 #define tmp1 r19 macro 41 extru d_addr,31,2,tmp1 /* Extract the low two bits of the dest address. */ 42 combt,= tmp1,r0,dont_mask 45 sh3add tmp1,r0,save /* build mask based on tmp1 */ 79 ldwm 4(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 4 (DELAY SLOT)*/ 83 or save,tmp1,tmp1 /* or mask with data*/ 84 uxor,nbz tmp1,r0,save /* check for null*/ 87 stbys,b,m tmp1,4(0,d_addr) /* store word (delay slot)*/ 90 ldwm 4(0,s_addr),tmp1 /* get a word*/ 93 uxor,nbz tmp1,r0,save /* check for null*/ [all …]
|
D | strcpy.S | 37 #define tmp1 r19 macro 131 ldbs,ma 1(s_addr),tmp1 141 ldhs,ma 2(s_addr),tmp1 150 ldbs,ma 1(s_addr),tmp1 /* 11 11 */ 151 comiclr,<> r0,tmp1,r0 153 stbs,ma tmp1,1(d_addr) /* store a byte to dst string */ 158 comiclr,<> r0,tmp1,r0 /* nullify next if tmp1 <> 0 */ 160 stbs,ma tmp1,1(d_addr) /* store a byte to dst string */ 161 ldhs,ma 2(s_addr),tmp1 /* load next halfword */ 163 extru,<> tmp1,23,8,tmp6 /* look at left byte of halfword */ [all …]
|
D | strcat.S | 28 #define tmp1 r19 macro 43 extru d_addr,31,2,tmp1 /* Extract the low two bits of the dest address. */ 44 combt,= tmp1,r0,dont_mask 47 sh3add tmp1,r0,save /* build mask based on tmp1 */ 71 extru s_addr,31,2,tmp1 /* Extract the low two bits of the source address. */ 73 … sub,= tmp6,tmp1,tmp3 /* Compute the shift quantity and don't branch if tmp6=tmp1. */ 79 ldwm 4(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 4 (DELAY SLOT) */ 83 or save,tmp1,tmp1 84 uxor,nbz tmp1,r0,save 92 stbys,b,m tmp1,4(d_addr) [all …]
|
D | memcmp.S | 30 #define tmp1 19 macro 58 extru s2,31,2,tmp1 /* Extract the low two bits of the s2. */ 60 sub,= tmp5,tmp1,tmp3 /* Are s1 & s2 aligned with each other? */ 123 masks2: sh3add tmp1,r0,save /* save now has number of bits to mask */ 127 subi 4,tmp1,tmp1 /* tmp1 now has the number of byte that */ 130 more: combt,<=,n count,tmp1,chunk1 /* Can we do the vshd? */ 152 combt,=,n r0,tmp1,masks1 /*Do we need to mask beginning of s2 */ 153 add tmp1,count,count /*bump count by the number of bytes */ 155 sh3add tmp1,r0,save /*save now has number of bits to mask */
|
D | strcmp.S | 36 #define tmp1 19 macro 50 extru,<> s1,31,2,tmp1 52 dep,= s2,29,2,tmp1 111 blr tmp1,r0 184 extru s1,31,2,tmp1 190 combt,=,n r0,tmp1,masks2 /* Do we need to mask beginning of s1 */ 191 sh3add tmp1,r0,save /* save now has number of bits to mask */ 234 extru s1,31,2,tmp1 246 sh3add tmp1,r0,save /* save now has number of bits to mask */
|
D | strncmp.S | 26 #define tmp1 19 macro 54 extru s2,31,2,tmp1 /* Extract the low two bits of the s2. */ 56 sub,= tmp5,tmp1,tmp3 /* Are s1 & s2 aligned with each other? */ 128 masks2: sh3add tmp1,r0,save /* save now has number of bits to mask */ 157 combt,=,n r0,tmp1,masks1 /* Do we need to mask beginning of s2 */ 158 add tmp1,count,count /* bump count by the number of bytes */ 160 sh3add tmp1,r0,save /* save now has number of bits to mask */
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/aarch64/ |
D | strchrnul.S | 48 #define tmp1 x3 macro 83 ands tmp1, srcin, #31 91 neg tmp1, tmp1 98 lsl tmp1, tmp1, #1 102 lsr tmp1, tmp3, tmp1 105 bic tmp1, tmp3, tmp1 // Mask padding bits. 106 cbnz tmp1, L(tail) 117 mov tmp1, vend1.d[0] 118 cbz tmp1, L(loop) 127 mov tmp1, vend1.d[0] [all …]
|
D | strchr.S | 48 #define tmp1 x3 macro 88 ands tmp1, srcin, #31 97 neg tmp1, tmp1 106 lsl tmp1, tmp1, #1 110 lsr tmp1, tmp3, tmp1 113 bic tmp1, tmp3, tmp1 // Mask padding bits. 114 cbnz tmp1, L(tail) 125 mov tmp1, vend1.d[0] 126 cbz tmp1, L(loop) 136 mov tmp1, vend1.d[0] [all …]
|
D | strlen.S | 46 #define tmp1 x4 macro 101 and tmp1, srcin, MIN_PAGE_SIZE - 1 102 cmp tmp1, MIN_PAGE_SIZE - 32 117 sub tmp1, data1, zeroones 121 bics has_nul1, tmp1, tmp2 132 clz tmp1, has_nul1 133 add len, len, tmp1, lsr 3 143 sub tmp1, data1, zeroones 147 bics has_nul1, tmp1, tmp2 158 clz tmp1, has_nul1 [all …]
|
D | strncmp.S | 56 #define tmp1 x8 macro 85 eor tmp1, src1, src2 87 tst tmp1, #7 101 sub tmp1, data1, zeroones 105 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */ 133 add tmp1, limit, 8 136 lsl limit, tmp1, #3 /* Bits -> bytes. */ 160 sub tmp1, tmp3, zeroones 162 bic has_nul, tmp1, tmp2 260 ldp tmp1, tmp2, [src2], #16 [all …]
|
D | memcpy.S | 44 #define tmp1 x14 macro 102 lsr tmp1, count, 1 105 ldrb B_lw, [src, tmp1] 107 strb B_lw, [dstin, tmp1] 151 sub tmp1, dstin, src 152 cbz tmp1, L(copy0) 153 cmp tmp1, count 159 and tmp1, dstin, 15 161 sub src, src, tmp1 162 add count, count, tmp1 /* Count is now 16 too large. */ [all …]
|
D | strrchr.S | 49 #define tmp1 x3 macro 94 ands tmp1, srcin, #31 103 neg tmp1, tmp1 116 lsl tmp1, tmp1, #1 118 lsr tmp3, const_m1, tmp1
|
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.string/ |
D | tstring.c | 77 char *tmp1, *tmp2, *tmp3, *tmp4, *tmp5, *tmp6, *tmp7; in main() local 91 tmp1 = target; in main() 270 tmp1 = target + x; in main() 279 memset (tmp1, first_char, i); in main() 280 mycopy (tmp2, tmp1, i); in main() 282 if (memcpy (tmp1 + z, tmp2 + z, i - z - 1) != tmp1 + z) in main() 288 tmp1[i] = '\0'; in main() 305 if (strncpy (tmp5, tmp1, i+1) != tmp5 || in main() 306 strcat (tmp5, tmp1) != tmp5) in main() 311 mycopy (tmp6, tmp1, i); in main() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libm/complex/ |
D | cacos.c | 93 double complex tmp0, tmp1; in cacos() local 96 tmp1 = M_PI_2 - creal(tmp0); in cacos() 97 w = tmp1 - (cimag(tmp0) * (double complex) (double complex) I); in cacos()
|
/picolibc-3.7.0-3.6.0/newlib/libc/search/ |
D | hash_page.c | 467 int tmp1, tmp2; in __add_ovflpage() local 480 tmp1 = bufp->addr; in __add_ovflpage() 488 tmp1, tmp2, bufp->ovfl->addr); in __add_ovflpage() 668 int tmp1, tmp2; in overflow_page() local 777 tmp1 = bit; in overflow_page() 797 addr, tmp1, tmp2); in overflow_page()
|