Searched refs:carry (Results 1 - 25 of 36) sorted by relevance

12

/arch/blackfin/include/asm/
H A Dchecksum.h20 unsigned int carry; local
34 : "=d" (sum), "=&d" (carry)
/arch/alpha/lib/
H A Dcsum_partial_copy.c106 unsigned long carry = 0; local
112 checksum += carry;
116 carry = checksum < word;
121 checksum += carry;
129 carry = checksum < word;
131 checksum += carry;
149 unsigned long word, carry; local
154 carry = 0;
163 checksum += carry;
169 carry
203 unsigned long carry = 0; local
261 unsigned long carry = 0; local
[all...]
H A Dchecksum.c79 * ways to do the carry, but this is reasonable.
112 unsigned long carry = 0; local
117 result += carry;
119 carry = (w > result);
121 result += carry;
168 /* add in old sum, and carry.. */
H A Dev6-csum_ipv6_magic.S39 * add 4 ushorts, resulting in ushort/carry
40 * add carry bits + ushort --> ushort
41 * add carry bits + ushort --> ushort (in case the carry results in an overflow)
144 addq $1,$3,$0 # E : Final carry
/arch/mips/include/asm/
H A Dchecksum.h136 int carry; local
140 carry = (csum < word[1]);
141 csum += carry;
144 carry = (csum < word[2]);
145 csum += carry;
148 carry = (csum < word[3]);
149 csum += carry;
154 carry = (csum < *word);
155 csum += carry;
281 " addu %0, $1 # Add final carry\
[all...]
/arch/frv/lib/
H A Dchecksum.c41 /* add up carry.. */
69 unsigned long carry = 0; local
74 result += carry;
76 carry = (w > result);
78 result += carry;
111 /* add in old sum, and carry.. */
/arch/ia64/lib/
H A Dcsum_partial_copy.c28 /* add up carry.. */
65 unsigned long carry = 0; local
70 result += carry;
72 carry = (w > result);
74 result += carry;
124 /* add in old sum, and carry.. */
/arch/metag/lib/
H A Dchecksum.c44 /* add up carry.. */
74 unsigned int carry = 0; local
78 result += carry;
80 carry = (w > result);
82 result += carry;
121 /* add in old sum, and carry.. */
/arch/sparc/lib/
H A Ddivdi3.S61 addx %i0,%i0,%i0 ! so this cannot give carry
73 ! Got carry from n. Subtract next step to cancel this carry.
97 addx %g3,%g3,%g3 ! so this cannot give carry
109 ! Got carry from n. Subtract next step to cancel this carry.
121 addx %i0,%i0,%i0 ! so this cannot give carry
133 ! Got carry from n. Subtract next step to cancel this carry.
196 addx %o2,%o2,%o2 ! so this cannot give carry
[all...]
H A Dudivdi3.S38 addx %i0,%i0,%i0 ! so this cannot give carry
50 ! Got carry from n. Subtract next step to cancel this carry.
76 addx %o4,%o4,%o4 ! so this cannot give carry
88 ! Got carry from n. Subtract next step to cancel this carry.
102 addx %i0,%i0,%i0 ! so this cannot give carry
114 ! Got carry from n. Subtract next step to cancel this carry.
181 addx %o4,%o4,%o4 ! so this cannot give carry
[all...]
H A Dchecksum_32.S48 addx %g0, %o2, %o2 ! add in final carry
55 addx %g0, %o2, %o2 ! add in final carry
72 addx %g0, %o2, %o0 ! add final carry into retval
113 andcc %o1, 0x70, %g1 ! clears carry flag too
118 addx %g0, %o2, %o2 ! sink in final carry
122 andcc %o1, 0x70, %g1 ! clears carry flag too
137 addx %g0, %o2, %o2 ! fetch final carry
355 addx %g0, %g7, %g7 ! add in last carry bit
362 andcc %g1, 0xf, %o3 ! get low bits of length (clears carry btw)
370 add %o1, %o2, %o1 ! advance dest ptr (carry i
[all...]
/arch/m68k/math-emu/
H A Dmulti_arith.h84 int carry; local
93 asm volatile ("addx.l %0,%0" : "=d" (carry) : "0" (0));
95 return carry;
156 char carry; \
161 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \
163 carry; \
/arch/cris/arch-v10/lib/
H A Dchecksum.S59 ;; fold the carry into the checksum, to avoid having to loop the carry
H A Dchecksumcopy.S65 ;; fold the carry into the checksum, to avoid having to loop the carry
/arch/cris/arch-v32/lib/
H A Dchecksum.S43 ;; test $acr without trashing carry.
50 ;; fold the last carry into r13
H A Dchecksumcopy.S47 ;; test $acr, without trashing carry.
53 ;; fold the last carry into r13
/arch/powerpc/boot/
H A Ddevtree.c167 int i, carry = 0; local
170 u64 tmp = (u64)reg[i] + add[i] + carry;
171 carry = tmp >> 32;
175 return !carry;
/arch/arm/mach-omap2/
H A Dclkt_dpll.c145 int r = 0, carry = 0; local
149 carry = 1;
150 *m = (*m / DPLL_SCALE_FACTOR) + carry;
/arch/m68k/fpsp040/
H A Dbinstr.S33 | will be collected by the carry.
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
95 | A4. Multiply d4:d5 by 2; add carry out to d1.
H A Dsrem_mod.S206 clrl %d6 | ...D6 := carry <- 0
223 tstl %d6 | ...test carry bit
226 |..At this point carry = 0, R = (D1,D2), Y = (D4,D5)
244 clrl %d6 | ...clear carry
254 roxll #1,%d1 | ...hi(R) = 2hi(R) + carry
/arch/c6x/lib/
H A Dcsum_64plus.S255 ; unsigned int carry = 0;
260 ; result += carry;
262 ; carry = (w > result);
264 ; result += carry;
279 ; /* add up carry.. */
389 ; /* add in old sum, and carry.. */
/arch/m68k/lib/
H A Dudivsi3.S153 jcs L2 | if no carry,
/arch/x86/crypto/
H A Dghash-clmulni-intel_asm.S6 * http://software.intel.com/en-us/articles/carry-less-multiplication-and-its-usage-for-computing-the-gcm-mode/
68 # carry-less multiplication
/arch/arm/lib/
H A Ddiv64.S105 @ divisor for comparisons, considering the carry-out bit as well.
117 @ The top part of remainder became zero. If carry is set
H A Dcsumpartial.S74 .Ldone: adc r0, sum, #0 @ collect up the last carry

Completed in 1048 milliseconds

12