Lines Matching refs:g1
114 andcc %o1, 0x70, %g1 ! clears carry flag too
123 andcc %o1, 0x70, %g1 ! clears carry flag too
126 srl %g1, 1, %o4 ! compute offset
127 sub %g7, %g1, %g7 ! adjust jmp ptr
130 add %o0, %g1, %o0 ! advance buf ptr
293 cmp %g1, 6
295 andcc %g1, 0xf, %o3
301 EX(lduh [%o0 + 0x00], %g4, add %g1, 0)
302 sub %g1, 2, %g1
316 andcc %g1, 0xffffff80, %g0
317 EX(ld [%o0 + 0x00], %g4, add %g1, 0)
318 sub %g1, 4, %g1
325 andcc %g1, 0xffffff80, %g0
340 andcc %g1, 0xffffff80, %g0 ! can we use unrolled loop?
349 sub %g1, 128, %g1 ! detract from length
351 andcc %g1, 0xffffff80, %g0 ! more to csum?
355 3: andcc %g1, 0x70, %o2 ! can use table?
357 andcc %g1, 0xf, %o3 ! get low bits of length (clears carry btw)
385 sub %g1, 128, %g1 ! detract from length
387 andcc %g1, 0xffffff80, %g0 ! more to csum?
392 andcc %g1, 0x70, %o2 ! can use table? (clears carry btw)
394 ccslow: cmp %g1, 0
399 srl %g1, 1, %g4
400 sub %g1, 1, %g1
401 EX(ldub [%o0], %g5, add %g1, 1)
404 srl %g1, 1, %g4
408 andcc %g1, 1, %g0
412 EX(lduh [%o0], %o4, add %g1, 0)
413 sub %g1, 2, %g1
424 andcc %g1, 2, %g0
443 andcc %g1, 2, %g0
446 andcc %g1, 1, %g0
447 EX(lduh [%o0], %o4, and %g1, 3)
448 andcc %g1, 1, %g0
486 sub %g1, 32, %g1
492 sub %g1, %o2, %o3
506 sub %g1, %g2, %o3
534 and %g1, 3, %g1
536 add %g1, %g4, %o3