Home | History | Annotate | Download | only in switchback

Lines Matching refs:accum

775 u32 accum;              /* Accumulator */
781 accum=(u32)b;
782 accum+=(u32)c;
783 accum+=(u32)*carry;
784 *carry=(u16)((accum & 0x00010000) ? 1 : 0); /* New carry */
785 *a=(u16)(accum & 0xFFFF); /* Result is lo 16 bits */
799 u32 accum; /* Accumulator */
801 accum=(u32)b;
802 accum-=(u32)c;
803 accum-=(u32)*borrow;
804 *borrow=(u32)((accum & 0x00010000) ? 1 : 0); /* New borrow */
805 *a=(u16)(accum & 0xFFFF);
821 u16 accum; /* Temporary holding placed */
824 { accum=mantissa[i];
825 new_carry=accum & 0x8000; /* Get new carry */
826 accum=accum<<1; /* Do the shift */
828 accum|=1; /* Insert previous carry */
830 mantissa[i]=accum; /* Return shifted value */
846 u16 accum;
849 { accum=mantissa[i];
850 new_carry=accum & 1; /* Get new carry */
851 accum=accum>>1;
853 accum|=0x8000;
855 mantissa[i]=accum;