Lines Matching full:sum

59 #define ADDC(sum,reg)						\  argument
62 ADD sum, reg; \
63 sltu v1, sum, reg; \
64 ADD sum, v1; \
67 #define ADDC32(sum,reg) \ argument
70 addu sum, reg; \
71 sltu v1, sum, reg; \
72 addu sum, v1; \
75 #define CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3) \ argument
82 ADDC(sum, _t0); \
83 ADDC(sum, _t2)
86 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument
87 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3)
89 #define CSUM_BIGCHUNK(src, offset, sum, _t0, _t1, _t2, _t3) \ argument
90 CSUM_BIGCHUNK1(src, offset, sum, _t0, _t1, _t2, _t3); \
91 CSUM_BIGCHUNK1(src, offset + 0x10, sum, _t0, _t1, _t2, _t3)
101 #define sum v0 macro
108 move sum, zero
126 ADDC(sum, t0)
136 ADDC(sum, t0)
150 ADDC(sum, t0)
161 ADDC(sum, t0)
166 ADDC(sum, t0)
167 ADDC(sum, t1)
179 ADDC(sum, t0)
180 ADDC(sum, t1)
182 CSUM_BIGCHUNK1(src, 0x00, sum, t0, t1, t3, t4)
193 CSUM_BIGCHUNK(src, 0x00, sum, t0, t1, t3, t4)
194 CSUM_BIGCHUNK(src, 0x20, sum, t0, t1, t3, t4)
195 CSUM_BIGCHUNK(src, 0x40, sum, t0, t1, t3, t4)
196 CSUM_BIGCHUNK(src, 0x60, sum, t0, t1, t3, t4)
208 CSUM_BIGCHUNK(src, 0x00, sum, t0, t1, t3, t4)
209 CSUM_BIGCHUNK(src, 0x20, sum, t0, t1, t3, t4)
217 CSUM_BIGCHUNK(src, 0x00, sum, t0, t1, t3, t4)
229 ADDC(sum, t0)
249 ADDC(sum, t1)
270 1: ADDC(sum, t1)
274 dsll32 v1, sum, 0
275 daddu sum, v1
276 sltu v1, sum, v1
277 dsra32 sum, sum, 0
278 addu sum, v1
286 wsbh v1, sum
287 movn sum, v1, t7
293 and t0, sum, v1
295 srl sum, sum, 8
296 and sum, sum, v1
297 or sum, sum, t0
302 ADDC32(sum, a2)
321 #define sum v0 macro
440 li sum, -1
485 ADDC(sum, t0)
489 ADDC(sum, t2)
493 ADDC(sum, t4)
497 ADDC(sum, t6)
525 ADDC(sum, t0)
529 ADDC(sum, t2)
545 ADDC(sum, t0)
573 ADDC(sum, t0)
596 ADDC(sum, t3)
630 ADDC(sum, t0)
634 ADDC(sum, t2)
651 ADDC(sum, t0)
694 ADDC(sum, t2)
700 dsll32 v1, sum, 0
701 daddu sum, v1
702 sltu v1, sum, v1
703 dsra32 sum, sum, 0
704 addu sum, v1
711 wsbh v1, sum
712 movn sum, v1, odd
718 and t0, sum, v1
720 srl sum, sum, 8
721 and sum, sum, v1
722 or sum, sum, t0