Lines Matching refs:NBYTES
101 #define NBYTES 8 macro
137 #define NBYTES 4 macro
156 #define FIRST(unit) ((unit)*NBYTES)
157 #define REST(unit) (FIRST(unit)+NBYTES-1)
160 #define ADDRMASK (NBYTES-1)
211 SUB len, len, 16*NBYTES
223 ADD src, src, 16*NBYTES
225 ADD dst, dst, 16*NBYTES
248 # Jump here if there are less than 16*NBYTES left.
252 sltu t0, len, 8*NBYTES
259 SUB len, len, 8*NBYTES
272 ADD src, src, 8*NBYTES
274 ADD dst, dst, 8*NBYTES
276 # Jump here if there are less than 8*NBYTES left.
279 sltu t0, len, 4*NBYTES
286 SUB len, len, 4*NBYTES
291 ADD src, src, 4*NBYTES
293 ADD dst, dst, 4*NBYTES
295 # Jump here if there are less than 4*NBYTES left. This means
296 # we may need to copy up to 3 NBYTES words.
299 sltu t0, len, 1*NBYTES
303 # 1) Copy NBYTES, then check length again
306 SUB len, len, NBYTES
309 ADD src, src, NBYTES
311 ADD dst, dst, NBYTES
313 # 2) Copy NBYTES, then check length again
316 SUB len, len, NBYTES
319 ADD src, src, NBYTES
321 ADD dst, dst, NBYTES
323 # 3) Copy NBYTES, then check length again
326 SUB len, len, NBYTES
327 ADD src, src, NBYTES
328 ADD dst, dst, NBYTES
336 and rem, len, (4*NBYTES-1) # rem = len % 4*NBYTES
346 SUB len, len, 4*NBYTES
353 ADD src, src, 4*NBYTES
359 ADD dst, dst, 4*NBYTES
363 and rem, len, NBYTES-1 # rem = len % NBYTES
369 SUB len, len, NBYTES
371 ADD src, src, NBYTES
373 ADD dst, dst, NBYTES
394 EXC( lb t0, NBYTES-2(src), l_exc)
397 EXC( sb t0, NBYTES-2(dst), s_exc_p1)
453 ADD len, len, n*NBYTES