Home
last modified time | relevance | path

Searched refs:g5 (Results 1 – 25 of 27) sorted by relevance

12

/picolibc-latest/newlib/libc/machine/i960/
Dstrncat.S98 mov g0, g5
100 ld (g5), g7 # fetch word of dest string
101 addo 4, g5, g5 # post-increment dest ptr
104 subo 5, g5, g5 # adjust dest ptr
109 addo 1, g5, g5 # adjust dest ptr
123 st g4, (g5) # store current word
124 addo 4, g5, g5 # post-increment destination ptr
128 addo 1, g5, g5 # post-increment destination ptr
133 stob g4, (g5) # store it
141 addo 1, g5, g5 # post-increment destination ptr
[all …]
Dstrchr_ca.S100 notand g0,3,g5 # extract word addr of start of src
103 ld (g5),g4 # fetch word containing at least first byte
105 lda 4(g5),g0 # post-increment src word pointer
106 subi 1,0,g5 # mask initially all ones
108 shro g6,g5,g5 # get mask for bytes needed from first word
110 shlo g6,g5,g5 # get mask for bytes needed from first word
112 notor g4,g5,g4 # set unneeded bytes to all ones
117 lda (g4),g5 # copy word
120 scanbyte 0,g5 # check for null byte
135 rotate 8,g5,g5 # shift word to position next byte
[all …]
Dstrncpy.S104 mov g0, g5
107 addo g2, g5, g2
116 st g4, (g5) # store current word
117 addo 4, g5, g5 # post-increment destination ptr
123 cmpo g2, g5 # max_bytes <= 0 ?
127 stob g14, (g5) # store it
128 addo 1, g5, g5 # post-increment dest ptr
146 st g4, (g5) # store last part of src and first of null-pad
150 cmpo g5, g6 # max_bytes < 4 ?
151 addo 4, g5, g5
[all …]
Dmemchr_ca.S104 shlo 16,g3,g5
106 or g5,g3,g3
108 subi 1,0,g5 # mask initially all ones
110 shro g6,g5,g5 # get mask for bytes needed from first word
112 shlo g6,g5,g5 # get mask for bytes needed from first word
114 notor g4,g5,g4 # set unneeded bytes to all ones
120 mov g4,g5 # keep a copy of word
137 rotate 8,g5,g5 # shift word to position next byte
139 and g5,g7,g6 # extract byte
143 shro 8,g5,g5 # shift word to position next byte
[all …]
Dstrrchr.S98 shlo 16,g2,g5
99 or g2,g5,g3
106 mov g4,g5 # copy word
107 scanbyte 0,g5 # check for null byte
110 scanbyte g3,g5 # check for byte with char
113 mov g5,g6 # save word that has char in it (at least once)
121 and g7,g5,g14 # extract next byte
123 shro 8,g5,g5 # position next byte for extraction
131 and g7,g6,g5 # extract byte
133 cmpobne g5,g1,Lfind_last_char # branch if not at char
Dstrcpy.S128 mov g5,g7 # copy second word
138 subo 9,g2,g5 # back up the byte pointer
142 addo 1,g5,g5 # bump src byte ptr
154 mov g0, g5
165 st g4, (g5) # store current word
166 addo 4, g5, g5 # post-increment dest ptr
173 stob g14, (g5) # store the byte
174 addo 1, g5, g5 # post-increment dest ptr
Dstrchr.S92 shlo 16,g2,g5
93 or g2,g5,g3
99 mov g4,g5 # copy word
100 scanbyte g3,g5 # check for byte with char
103 scanbyte 0,g5 # check for null byte
117 and g5,g7,g6 # extract byte
120 shro 8,g5,g5 # shift word to position next byte
Dmemcpy.S119 mov g0, g5
124 st g4, (g5) # store word to dest
125 addo 4, g5, g5 # post-increment dest pointer
131 cmpobe g6, g5, Lexit # quit if no more bytes to move
134 stob g4, (g5) # store a byte
136 addo 1, g5, g5
137 cmpobne g6, g5, Lcloop_a # quit if no more bytes to move
Dmemchr.S105 shlo 16,g3,g5
106 or g3,g5,g3
109 mov g4,g5 # keep a copy of word
110 scanbyte g3,g5 # check for byte with char
124 and g5,g7,g0 # extract byte
127 shro 8,g5,g5 # shift word to position next byte
Dstrncpy_ca.S124 lda 0xff,g5 # load mask for byte extraction
147 and g5,g1,g14 # extract next char
169 rotate 24,g5,g5 # move mask into position for testing next byte
171 and g5,g1,g14 # extract next char
174 lda (g5),LSW # keep a copy of the current mask
175 shlo 8,g5,g5 # move mask into position for testing next byte
179 subo 1,g5,g5 # null pad.
180 andnot g5,g1,g1 # last bytes to copy, and null pad rest of word
182 subo 1,LSW,g5 # mask to get last bytes to copy, and null pad
183 and g5,g1,g1 # last bytes to copy, and null pad rest of word
[all …]
Dstrcmp.S89 ld (g0), g5 # fetch first word of source_1
96 scanbyte 0,g5 # does word have a null byte?
97 mov g5,g2 # save a copy of the source_1 word
101 ld (g0), g5 # fetch ahead next word of source_1
104 .Lcloop: and g4,g2,g5 # extract and compare individual bytes
106 cmpobne g5,g6,.diff # if they differ, go return 1 or -1
Dmemccpy_ca.S94 notand g1,3,g5 # extract word addr of start of src
97 cmpo g5,g1 # check alignment of src
98 ld (g5),LSW # fetch word containing at least first byte
100 lda 4(g5),g5 # advance src word addr
134 ld (g5),MSW # fetch msw of operand for double shift
147 lda 4(g5),g5 # post-increment src word addr
153 ld (g5),MSW # pre-fetch msw of operand for double shift
162 lda 4(g5),g5 # post-increment src word addr
168 ld (g5),MSW # pre-fetch msw of operand for double shift
183 ld (g5),LSW # pre-fetch next word of src
[all …]
Dstrcpy_ca.S132 lda 0xff000000,g5 # byte extraction mask
135 lda 0xff,g5 # byte extraction mask
144 and g5,LSW,g14 # extract byte
152 shro 8,g5,g5 # move mask down to next byte
154 shlo 8,g5,g5 # move mask up to next byte
157 and g5,LSW,g14 # extract byte
159 lda 0xff,g5 # byte extraction mask
173 lda 0xff,g5 # load mask for byte extraction
183 lda 0xff,g5 # byte extraction mask
203 and g5,g2,g14 # extract next char
[all …]
Dmemset.S80 shro 8,g4,g5
84 or g4,g5,g4
97 shro 16,g4,g5
98 or g4,g5,g4
99 mov g4,g5 # now have a longword of char
Dstrncat_ca.S126 lda 0xff,g5 # byte extraction mask
136 and g5,LSW,g14 # extract byte
169 and g5,g1,g14 # extract next char
191 shlo 8,g5,g5 # move mask up to next byte
192 and g5,LSW,g14 # extract byte
201 lda 0xff,g5 # load mask for byte extraction
212 eshro g14,g6,g5 # extract four bytes
221 mov g5,MSW
222 lda 0xff,g5
233 shro 24,MSW,g5 # extract next char
[all …]
Dstrncmp.S97 ld (g0), g5 # fetch word of source_1
101 scanbyte 0,g5 # is a null byte present?
104 cmpobe g5,g3,.Lwloop # perform char comparator if words are unequal
109 .Lcloop: and g4,g5,g7 # compare individual bytes
Dmemcmp.S99 ld (g0), g5 # fetch word of source_1
104 cmpobe g5,g3,.Lwloop # branch if source words are equal
109 .Lcloop: and g4,g5,g7 # extract and compare individual bytes
Dmemcpy_ca.S120 addo g2,g1,g5 # compute addr of byte after last byte of src
122 concmpo g5,g0 # ... or if dest starts after end of src ...
218 eshro g14,g6,g5 # extract four bytes
228 mov g5,MSW
233 notand g5,3,MSW # extract word addr of byte after end of src
234 cmpo MSW,g5 # check alignment of end of src
330 and 3,g5,g5 # compute shift count
332 shlo 3,g5,g14
337 or g4,g5,g5 # is src earlier in word, later, or sync w/ dst
338 cmpo g1,g5 # < indicates last word of dest has less bytes
[all …]
Dmemccpy.S101 lda 0xff,g5 # mask for char
102 and g5,g2,g2 # extract only char
126 and g5,g4,g7 # check the byte against char
Dstrlen_ca.S95 ld (g2),g5 # fetch word containing at least first byte
102 notor g5,g3,g7 # set unneeded bytes to all ones
106 notor g5,g3,g7 # set unneeded bytes to all ones
111 ld (g2),g5 # load odd word
Dstrpbrk.S86 ldob (g2),g5 # fetch next brkset char
90 lda (g5),g6
Dstrcspn.S81 ldob (g2),g5 # fetch next charset char
85 lda (g5),g6
Dstrlen.S95 mov g5,g7 # copy second word
Dmemcmp_ca.S92 #define LSW g5
97 #define MSW g5
/picolibc-latest/newlib/libm/ld/ld80/
De_lgammal_r.c131 g5 = 1.541735456969245924860307497029155838446E2L, variable
369 p1 = g0 + y * (g1 + y * (g2 + y * (g3 + y * (g4 + y * (g5 + y * g6))))); in lgammal_r()

12