Lines Matching refs:sum0
100 u64 sum0, sum1, x0, x1, *ptr8_o, *ptr8_e, *ptr8; in do_csum() local
116 sum0 = mid << 18; in do_csum()
120 sum0 += (u64) (ptr[0] << 8); in do_csum()
126 sum0 = HEXAGON_P_vrmpyhacc_PP(sum0, in do_csum()
129 sum0 += VR_SELECT(0, 0, 1, 0); in do_csum()
146 sum0 = HEXAGON_P_vrmpyhacc_PP(sum0, in do_csum()
155 sum0 = HEXAGON_P_vrmpyhacc_PP(sum0, x0^VR_NEGATE(1, 1, 1, 1), in do_csum()
170 sum0 += (u64) ptr2[0]; in do_csum()
177 sum0 = HEXAGON_P_vrmpyhacc_PP(sum0, in do_csum()
180 sum0 += VR_CARRY(0, 0, 1, 0); in do_csum()
182 sum0 = HEXAGON_P_vrmpyh_PP((sum0+sum1)^VR_NEGATE(0, 0, 0, 1), in do_csum()
184 sum0 += VR_NEGATE(0, 0, 0, 1); in do_csum()
185 sum0 = HEXAGON_P_vrmpyh_PP(sum0, VR_SELECT(0, 0, 1, 1)); in do_csum()
188 sum0 = (sum0 << 8) | (0xFF & (sum0 >> 8)); in do_csum()
190 return 0xFFFF & sum0; in do_csum()