Lines Matching refs:sum
73 int sum; in m_mult() local
96 sum = 0; in m_mult()
99 sum += *aptr++ * bcache; in m_mult()
100 *cptr++ = (short)(sum & LOWBITS); in m_mult()
101 if (sum >= 0) in m_mult()
102 sum >>= fifteen; in m_mult()
104 sum = 0xfffe0000 | (sum >> fifteen); in m_mult()
106 *cptr = (short)sum; in m_mult()
112 sum = 0; in m_mult()
115 sum += *aptr++ * bcache + *cptr; in m_mult()
116 *cptr++ = (short)(sum & LOWBITS); in m_mult()
117 if (sum >= 0) in m_mult()
118 sum >>= fifteen; in m_mult()
120 sum = 0xfffe0000 | (sum >> fifteen); in m_mult()
122 *cptr = (short)sum; in m_mult()