Lines Matching refs:NBYTES
97 #define NBYTES 8 macro
132 #define FIRST(unit) ((unit)*NBYTES)
133 #define REST(unit) (FIRST(unit)+NBYTES-1)
136 #define ADDRMASK (NBYTES-1)
191 SUB len, len, 16*NBYTES
203 ADD src, src, 16*NBYTES
205 ADD dst, dst, 16*NBYTES
228 # Jump here if there are less than 16*NBYTES left.
232 sltu t0, len, 8*NBYTES
239 SUB len, len, 8*NBYTES
252 ADD src, src, 8*NBYTES
254 ADD dst, dst, 8*NBYTES
256 # Jump here if there are less than 8*NBYTES left.
259 sltu t0, len, 4*NBYTES
266 SUB len, len, 4*NBYTES
271 ADD src, src, 4*NBYTES
273 ADD dst, dst, 4*NBYTES
275 # Jump here if there are less than 4*NBYTES left. This means
276 # we may need to copy up to 3 NBYTES words.
279 sltu t0, len, 1*NBYTES
283 # 1) Copy NBYTES, then check length again
286 SUB len, len, NBYTES
289 ADD src, src, NBYTES
291 ADD dst, dst, NBYTES
293 # 2) Copy NBYTES, then check length again
296 SUB len, len, NBYTES
299 ADD src, src, NBYTES
301 ADD dst, dst, NBYTES
303 # 3) Copy NBYTES, then check length again
306 SUB len, len, NBYTES
307 ADD src, src, NBYTES
308 ADD dst, dst, NBYTES
316 and rem, len, (4*NBYTES-1) # rem = len % 4*NBYTES
326 SUB len, len, 4*NBYTES
333 ADD src, src, 4*NBYTES
339 ADD dst, dst, 4*NBYTES
343 and rem, len, NBYTES-1 # rem = len % NBYTES
349 SUB len, len, NBYTES
351 ADD src, src, NBYTES
353 ADD dst, dst, NBYTES
372 EXC( lb t0, NBYTES-2(src), l_exc)
375 EXC( sb t0, NBYTES-2(dst), s_exc_p1)
383 SUB src, src, 16*NBYTES
384 SUB dst, dst, 16*NBYTES
415 ADD len, len, n*NBYTES