Rev 3191 | Rev 4341 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3191 | Rev 3211 | ||
---|---|---|---|
Line 201... | Line 201... | ||
201 | lwz sp, 156(sp) |
201 | lwz sp, 156(sp) |
202 | 202 | ||
203 | rfi |
203 | rfi |
204 | 204 | ||
205 | memsetb: |
205 | memsetb: |
206 | rlwimi r5, r5, 8, 16, 23 |
- | |
207 | rlwimi r5, r5, 16, 0, 15 |
- | |
208 | - | ||
209 | addi r14, r3, -4 |
- | |
210 | - | ||
211 | cmplwi 0, r4, 4 |
- | |
212 | blt 7f |
- | |
213 | - | ||
214 | stwu r5, 4(r14) |
- | |
215 | beqlr |
- | |
216 | - | ||
217 | andi. r15, r14, 3 |
- | |
218 | add r4, r15, r4 |
- | |
219 | subf r14, r15, r14 |
- | |
220 | srwi r15, r4, 2 |
- | |
221 | mtctr r15 |
- | |
222 | - | ||
223 | bdz 6f |
- | |
224 | - | ||
225 | 1: |
- | |
226 | stwu r5, 4(r14) |
- | |
227 | bdnz 1b |
- | |
228 | - | ||
229 | 6: |
- | |
230 | - | ||
231 | andi. r4, r4, 3 |
- | |
232 | - | ||
233 | 7: |
- | |
234 | - | ||
235 | cmpwi 0, r4, 0 |
- | |
236 | beqlr |
- | |
237 | - | ||
238 | mtctr r4 |
- | |
239 | addi r6, r6, 3 |
- | |
240 | - | ||
241 | 8: |
- | |
242 | - | ||
243 | stbu r5, 1(r14) |
- | |
244 | bdnz 8b |
206 | b _memsetb |
245 | - | ||
246 | blr |
- | |
247 | 207 | ||
248 | memcpy: |
208 | memcpy: |
249 | memcpy_from_uspace: |
209 | memcpy_from_uspace: |
250 | memcpy_to_uspace: |
210 | memcpy_to_uspace: |
251 | 211 |