/picolibc-latest/newlib/libc/machine/hppa/ |
D | strncmp.S | 30 #define tmp3 21 macro 58 sub,= tmp5,tmp1,tmp3 /* Are s1 & s2 aligned with each other? */ 78 extru s1word,7,8,tmp3 /* get first byte (character) */ 80 combf,= tmp3,tmp7,done /* quit if first byte is not equal */ 81 sub tmp3,tmp7,ret0 /* return difference (delay slot) */ 82 comibt,=,n 0,tmp3,done /* have we reached the end of string */ 85 extru s1word,15,8,tmp3 /* get second byte (character) */ 87 combf,= tmp3,tmp7,done /* quit if second byte is not equal */ 88 sub tmp3,tmp7,ret0 /* return difference (delay slot) */ 89 comibt,=,n 0,tmp3,done /* have we reached the end of string */ [all …]
|
D | memcmp.S | 34 #define tmp3 21 macro 62 sub,= tmp5,tmp1,tmp3 /* Are s1 & s2 aligned with each other? */ 82 extru s1word,7,8,tmp3 /* get first byte (character) */ 84 combf,= tmp3,tmp7,done /* quit if first byte is not equal */ 85 sub tmp3,tmp7,ret0 /* return difference (delay slot) */ 87 extru s1word,15,8,tmp3 /* get second byte (character) */ 89 combf,= tmp3,tmp7,done /* quit if second byte is not equal */ 90 sub tmp3,tmp7,ret0 /* return difference (delay slot) */ 92 extru s1word,23,8,tmp3 /* get third byte (character) */ 94 combf,= tmp3,tmp7,done /* done if third byte is not equal */ [all …]
|
D | memcpy.S | 31 #define tmp3 r21 macro 58 ldw -8(0,s_addr),tmp3 /* tmp3 = 3rd word */ 63 stwm tmp3,4(0,d_addr) /* tmp3 = 3rd word stored. */ 85 …sub,>= tmp2,tmp1,tmp3 /* compute the shift quantity again and skip the load if tmp2 > tm… 87 …zdep tmp3,28,29,tmp4 /* compute the number of bits to shift based on the number of byte… 94 ldw -12(s_addr),tmp3 100 vshd tmp2,tmp3,tmp6 /* position data ! */ 103 vshd tmp3,tmp4,tmp6 /* position data ! */ 117 vshd tmp1,tmp2,tmp3 /* position data ! */ 119 stbys,b,m tmp3,4(0,d_addr) /* store ! */ [all …]
|
D | strcpy.S | 43 #define tmp3 r21 macro 125 ldi -1,tmp3 /* load shift quantity. delay slot */ 127 ldi -2,tmp3 /* load shift quantity. delay slot */ 129 ldi -3,tmp3 /* load shift quantity. delay slot */ 131 ldi 1,tmp3 /* load shift quantity. delay slot */ 135 ldi -1,tmp3 /* load shift quantity. delay slot */ 137 ldi -2,tmp3 /* load shift quantity. delay slot */ 139 ldi 2,tmp3 /* load shift quantity. delay slot */ 141 ldi 1,tmp3 /* load shift quantity. delay slot */ 145 ldi -1,tmp3 /* load shift quantity. delay slot */ [all …]
|
D | strncpy.S | 33 #define tmp3 r21 macro 84 sub,>= tmp5,tmp1,tmp3 /* compute the shift amt.and skip load if tmp5 > tmp1.*/ 86 zdep tmp3,28,29,tmp4 /* compute the number of bits to shift */ 92 vshd tmp1,tmp2,tmp3 /* position data ! (delay slot)*/ 96 or save, tmp3, tmp3 103 vshd tmp1,tmp2,tmp3 106 uxor,nbz tmp3, r0, save 108 stbys,b,m tmp3,4(0,d_addr) /* store ! */ 111 vshd tmp2,tmp1,tmp3 /* position data ! */ 112 uxor,nbz tmp3, r0, save [all …]
|
D | strncat.S | 28 #define tmp3 r21 macro 124 vshd tmp1,tmp2,tmp3 /* position data ! (delay slot)*/ 128 or save, tmp3, tmp3 132 uxor,nbz tmp3, r0, save 137 stbys,b,m tmp3,4(0,d_addr) /* store ! */ 141 vshd tmp1,tmp2,tmp3 144 uxor,nbz tmp3, r0, save 146 stbys,b,m tmp3,4(0,d_addr) /* store ! */ 150 vshd tmp2,tmp1,tmp3 /* position data ! */ 151 uxor,nbz tmp3, r0, save [all …]
|
D | strcat.S | 32 #define tmp3 r21 macro 75 … sub,= tmp6,tmp1,tmp3 /* Compute the shift quantity and don't branch if tmp6=tmp1. */ 103 … sh3add,>= tmp3,r0,tmp4 /* compute the shift amt.and skip load if tmp6 > tmp1. */ 108 vshd tmp1,tmp2,tmp3 /* position data ! (delay slot) */ 112 or save, tmp3, tmp3 113 uxor,nbz tmp3,r0,save 119 vshd tmp1,tmp2,tmp3 120 uxor,nbz tmp3, r0, save 123 stbys,b,m tmp3,4(0,d_addr) /* store ! */ 126 vshd tmp2,tmp1,tmp3 /* position data ! */ [all …]
|
D | strcmp.S | 40 #define tmp3 21 macro 127 ldi 8,tmp3 /* load shift count (delay slot) */ 129 ldi 16,tmp3 /* load shift count (delay slot) */ 131 ldi 24,tmp3 /* load shift count (delay slot) */ 133 ldi 8,tmp3 /* load shift count (delay slot) */ 137 ldi 8,tmp3 /* load shift count (delay slot) */ 139 ldi 16,tmp3 /* load shift count (delay slot) */ 141 ldi 16,tmp3 /* load shift count (delay slot) */ 143 ldi 8,tmp3 /* load shift count (delay slot) */ 147 ldi 8,tmp3 /* load shift count (delay slot) */ [all …]
|
/picolibc-latest/newlib/testsuite/newlib.string/ |
D | tstring.c | 77 char *tmp1, *tmp2, *tmp3, *tmp4, *tmp5, *tmp6, *tmp7; in main() local 93 tmp3 = buffer3; in main() 144 if (strcpy (tmp3, target) != tmp3 || in main() 145 strcat (tmp3, "X") != tmp3 || in main() 158 strcmp (tmp3, target) || in main() 159 strncmp (tmp3, target, 2) || in main() 161 strncmp (target, tmp3, 3)) in main() 167 if (strcpy (tmp3, "Y") != tmp3 || in main() 168 strcat (tmp3, "Y") != tmp3 || in main() 178 strcmp (tmp3, target) || in main() [all …]
|
/picolibc-latest/newlib/libc/machine/aarch64/ |
D | strncmp.S | 60 #define tmp3 x10 macro 161 rev tmp3, data1 162 sub tmp1, tmp3, zeroones 163 orr tmp2, tmp3, #REP8_7f 191 neg tmp3, count, lsl #3 /* 64 - bits(bytes beyond align). */ 194 LS_FW tmp2, tmp2, tmp3 /* Shift (count & 63). */ 276 orr tmp3, data1, #REP8_7f 278 bic has_nul, has_nul, tmp3 /* Non-zero if NUL byte found in SRC1. */ 279 orr tmp3, endloop, has_nul 280 cbnz tmp3, L(full_check) [all …]
|
D | strrchr.S | 53 #define tmp3 x5 macro 120 lsr tmp3, const_m1, tmp1 123 bic nul_match, nul_match, tmp3 // Mask padding bits. 124 bic chr_match, chr_match, tmp3 // Mask padding bits. 164 clz tmp3, src_offset 168 add tmp3, tmp3, #2 169 sub result, src_match, tmp3, lsr #1
|
D | strlen.S | 50 #define tmp3 x6 macro 121 sub tmp3, data2, zeroones 124 bic has_nul2, tmp3, tmp4 147 sub tmp3, data2, zeroones 150 bic has_nul2, tmp3, tmp4 159 mov tmp3, 16 161 csel len, tmp3, len, cc
|
D | strchrnul.S | 52 #define tmp3 x5 macro 102 mov tmp3, #~0 104 lsr tmp1, tmp3, tmp1 106 mov tmp3, vend1.d[0] 107 bic tmp1, tmp3, tmp1 // Mask padding bits.
|
D | strchr.S | 52 #define tmp3 x5 macro 110 mov tmp3, #~0 112 lsr tmp1, tmp3, tmp1 114 mov tmp3, vend1.d[0] 115 bic tmp1, tmp3, tmp1 // Mask padding bits.
|