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)
189 SUB len, len, 16*NBYTES
201 ADD src, src, 16*NBYTES
203 ADD dst, dst, 16*NBYTES
226 # Jump here if there are less than 16*NBYTES left.
230 sltu t0, len, 8*NBYTES
237 SUB len, len, 8*NBYTES
250 ADD src, src, 8*NBYTES
252 ADD dst, dst, 8*NBYTES
254 # Jump here if there are less than 8*NBYTES left.
257 sltu t0, len, 4*NBYTES
264 SUB len, len, 4*NBYTES
269 ADD src, src, 4*NBYTES
271 ADD dst, dst, 4*NBYTES
273 # Jump here if there are less than 4*NBYTES left. This means
274 # we may need to copy up to 3 NBYTES words.
277 sltu t0, len, 1*NBYTES
281 # 1) Copy NBYTES, then check length again
284 SUB len, len, NBYTES
287 ADD src, src, NBYTES
289 ADD dst, dst, NBYTES
291 # 2) Copy NBYTES, then check length again
294 SUB len, len, NBYTES
297 ADD src, src, NBYTES
299 ADD dst, dst, NBYTES
301 # 3) Copy NBYTES, then check length again
304 SUB len, len, NBYTES
305 ADD src, src, NBYTES
306 ADD dst, dst, NBYTES
314 and rem, len, (4*NBYTES-1) # rem = len % 4*NBYTES
324 SUB len, len, 4*NBYTES
331 ADD src, src, 4*NBYTES
337 ADD dst, dst, 4*NBYTES
341 and rem, len, NBYTES-1 # rem = len % NBYTES
347 SUB len, len, NBYTES
349 ADD src, src, NBYTES
351 ADD dst, dst, NBYTES
370 EXC( lb t0, NBYTES-2(src), l_exc)
373 EXC( sb t0, NBYTES-2(dst), s_exc_p1)
381 SUB src, src, 16*NBYTES
382 SUB dst, dst, 16*NBYTES
413 ADD len, len, n*NBYTES