Subversion Repositories HelenOS

Rev

Rev 3189 | Rev 3222 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3189 Rev 3200
Line 197... Line 197...
197
	lwz sp, 156(sp)
197
	lwz sp, 156(sp)
198
 
198
 
199
	rfi
199
	rfi
200
	
200
	
201
memsetb:
201
memsetb:
202
	rlwimi r5, r5, 8, 16, 23
-
 
203
	rlwimi r5, r5, 16, 0, 15
-
 
204
	
-
 
205
	addi r14, r3, -4
-
 
206
	
-
 
207
	cmplwi 0, r4, 4
-
 
208
	blt 7f
-
 
209
	
-
 
210
	stwu r5, 4(r14)
-
 
211
	beqlr
-
 
212
	
-
 
213
	andi. r15, r14, 3
-
 
214
	add r4, r15, r4
-
 
215
	subf r14, r15, r14
-
 
216
	srwi r15, r4, 2
-
 
217
	mtctr r15
-
 
218
	
-
 
219
	bdz 6f
-
 
220
	
-
 
221
	1:
-
 
222
		stwu r5, 4(r14)
-
 
223
		bdnz 1b
-
 
224
	
-
 
225
	6:
-
 
226
	
-
 
227
	andi. r4, r4, 3
-
 
228
	
-
 
229
	7:
-
 
230
	
-
 
231
	cmpwi 0, r4, 0
-
 
232
	beqlr
-
 
233
	
-
 
234
	mtctr r4
-
 
235
	addi r6, r6, 3
-
 
236
	
-
 
237
	8:
-
 
238
	
-
 
239
	stbu r5, 1(r14)
-
 
240
	bdnz 8b
202
	b _memsetb
241
	
-
 
242
	blr
-
 
243
 
203
 
244
memcpy:
204
memcpy:
245
memcpy_from_uspace:
205
memcpy_from_uspace:
246
memcpy_to_uspace:
206
memcpy_to_uspace:
247
 
207