| /picolibc-latest/newlib/libc/machine/i960/ |
| D | strncat_ca.S | 96 #define LSW g7 macro 98 #define LSW g6 macro 116 and g0,3,LSW # extract byte offset of dest 118 shlo 3,LSW,g14 # get shift count for making mask for first word 119 subi 1,0,LSW # mask initially all ones 121 shro g14,LSW,LSW # get mask for bytes needed from first word 123 shlo g14,LSW,LSW # get mask for bytes needed from first word 125 notor MSW,LSW,MSW # set unneeded bytes to all ones 130 mov MSW,LSW # keep a copy of current word 134 shro 24,LSW,g14 # extract byte [all …]
|
| D | strcpy_ca.S | 106 #define LSW g7 macro 108 #define LSW g6 macro 126 and g0,3,LSW # extract byte offset of dest 128 shlo 3,LSW,g14 # get shift count for making mask for first word 129 subi 1,0,LSW # mask initially all ones 131 shro g14,LSW,LSW # get mask for bytes needed from first word 134 shlo g14,LSW,LSW # get mask for bytes needed from first word 137 notor MSW,LSW,MSW # set unneeded bytes to all ones 141 mov MSW,LSW # keep a copy of current word 144 and g5,LSW,g14 # extract byte [all …]
|
| D | strncmp_ca.S | 93 #define LSW g5 macro 97 #define LSW g4 macro 122 ld (SRC1),LSW # fetch word with at least first byte of src1 136 mov LSW,g0 141 mov MSW,LSW # move msw of src1 to lsw 148 mov LSW,g0 # extract word of src1 163 eshro g14,g4,LSW # extract word of src1 169 mov LSW,g0 178 mov MSW,LSW # move msw of src1 to lsw 193 mov LSW,g0 # restore extracted src1 word [all …]
|
| D | memcmp_ca.S | 92 #define LSW g5 macro 96 #define LSW g4 macro 123 ld (SRC1),LSW # fetch word with at least first byte of src1 131 eshro g14,g4,LSW # extract word of src1 135 mov LSW,g0 # at least src2 is word aligned 142 mov MSW,LSW # move msw of src1 to lsw 155 mov LSW,g0 # restore extracted src1 word 164 and g0,g1,LSW # extract next char of src1 165 cmpobne.f LSW,g3,.diff # check for equality 201 cmpo LSW,SRC2 # compare src1 and src2 words
|
| D | memcpy_ca.S | 97 #define LSW g7 macro 99 #define LSW g6 macro 126 ld (g3),LSW # fetch word containing at least first byte 139 mov LSW,MSW # make copy of first word of src 166 mov MSW,LSW # move msw to lsw 175 ld (g3),LSW # pre-fetch next word of src 181 lda (LSW),g1 # keep a copy of the src word 225 mov MSW,LSW 247 mov MSW,LSW # make copy of first word of src 255 rotate 8,LSW,LSW # move next byte into position for storing [all …]
|
| D | strcmp_ca.S | 93 #define LSW g5 macro 97 #define LSW g4 macro 121 ld (g2),LSW # fetch word with at least first byte of src1 128 mov LSW,SRC1 # extract word of src1 137 mov MSW,LSW # move msw of src1 to lsw 144 mov LSW,SRC1 # extract word of src1 175 mov MSW,LSW # move msw of src1 to lsw 192 mov LSW,SRC1 # restore extracted src1 word 229 mov SRC1,LSW # retain src1 extracted word 236 cmpo LSW,SRC2 # compare src1 and src2 words [all …]
|
| D | memccpy_ca.S | 78 #define LSW g7 macro 80 #define LSW g6 macro 98 ld (g5),LSW # fetch word containing at least first byte 108 mov LSW,MSW # make copy of first word of src 148 mov LSW,g1 # extract 4 bytes of src 152 mov MSW,LSW # move msw to lsw 167 mov MSW,LSW # move msw to lsw 183 ld (g5),LSW # pre-fetch next word of src 189 lda (LSW),g1 # keep a copy of the src word 191 scanbyte LSW,g4 # branch if char is not in foursome [all …]
|
| D | strncpy_ca.S | 96 #define LSW g7 macro 98 #define LSW g6 macro 117 ld (g3),LSW # fetch word containing at least first byte 131 lda (LSW),g1 # keep a copy of the src word 135 ld (g3),LSW # pre-fetch next word of src 174 lda (g5),LSW # keep a copy of the current mask 182 subo 1,LSW,g5 # mask to get last bytes to copy, and null pad 198 mov LSW,MSW # make copy of first word of src 236 lda (LSW),g1 # extract 4 bytes of src 240 lda (MSW),LSW # move msw to lsw [all …]
|