Home
last modified time | relevance | path

Searched refs:carry (Results 1 – 25 of 34) sorted by relevance

12

/arch/alpha/lib/
Dcsum_partial_copy.c101 unsigned long carry = 0; in csum_partial_cfu_aligned() local
107 checksum += carry; in csum_partial_cfu_aligned()
111 carry = checksum < word; in csum_partial_cfu_aligned()
116 checksum += carry; in csum_partial_cfu_aligned()
124 carry = checksum < word; in csum_partial_cfu_aligned()
126 checksum += carry; in csum_partial_cfu_aligned()
144 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local
149 carry = 0; in csum_partial_cfu_dest_aligned()
158 checksum += carry; in csum_partial_cfu_dest_aligned()
164 carry = checksum < word; in csum_partial_cfu_dest_aligned()
[all …]
Dchecksum.c110 unsigned long carry = 0; in do_csum() local
115 result += carry; in do_csum()
117 carry = (w > result); in do_csum()
119 result += carry; in do_csum()
Dev6-csum_ipv6_magic.S146 addq $1,$3,$0 # E : Final carry
/arch/mips/include/asm/
Dchecksum.h136 int carry; in ip_fast_csum() local
140 carry = (csum < word[1]); in ip_fast_csum()
141 csum += carry; in ip_fast_csum()
144 carry = (csum < word[2]); in ip_fast_csum()
145 csum += carry; in ip_fast_csum()
148 carry = (csum < word[3]); in ip_fast_csum()
149 csum += carry; in ip_fast_csum()
154 carry = (csum < *word); in ip_fast_csum()
155 csum += carry; in ip_fast_csum()
/arch/ia64/lib/
Dcsum_partial_copy.c66 unsigned long carry = 0; in do_csum_c() local
71 result += carry; in do_csum_c()
73 carry = (w > result); in do_csum_c()
75 result += carry; in do_csum_c()
/arch/sparc/lib/
Dudivdi3.S26 addx %i0,%i0,%i0 ! so this cannot give carry
38 ! Got carry from n. Subtract next step to cancel this carry.
64 addx %o4,%o4,%o4 ! so this cannot give carry
76 ! Got carry from n. Subtract next step to cancel this carry.
90 addx %i0,%i0,%i0 ! so this cannot give carry
102 ! Got carry from n. Subtract next step to cancel this carry.
169 addx %o4,%o4,%o4 ! so this cannot give carry
181 ! Got carry from n. Subtract next step to cancel this carry.
Ddivdi3.S50 addx %i0,%i0,%i0 ! so this cannot give carry
62 ! Got carry from n. Subtract next step to cancel this carry.
86 addx %g3,%g3,%g3 ! so this cannot give carry
98 ! Got carry from n. Subtract next step to cancel this carry.
110 addx %i0,%i0,%i0 ! so this cannot give carry
122 ! Got carry from n. Subtract next step to cancel this carry.
185 addx %o2,%o2,%o2 ! so this cannot give carry
197 ! Got carry from n. Subtract next step to cancel this carry.
Dchecksum_32.S50 addx %g0, %o2, %o2 ! add in final carry
57 addx %g0, %o2, %o2 ! add in final carry
74 addx %g0, %o2, %o0 ! add final carry into retval
116 andcc %o1, 0x70, %g1 ! clears carry flag too
121 addx %g0, %o2, %o2 ! sink in final carry
125 andcc %o1, 0x70, %g1 ! clears carry flag too
140 addx %g0, %o2, %o2 ! fetch final carry
359 addx %g0, %g7, %g7 ! add in last carry bit
366 andcc %g1, 0xf, %o3 ! get low bits of length (clears carry btw)
374 add %o1, %o2, %o1 ! advance dest ptr (carry is clear btw)
[all …]
/arch/m68k/math-emu/
Dmulti_arith.h83 int carry; in fp_addmant() local
92 asm volatile ("addx.l %0,%0" : "=d" (carry) : "0" (0)); in fp_addmant()
94 return carry; in fp_addmant()
155 char carry; \
160 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \
162 carry; \
/arch/powerpc/boot/
Ddevtree.c172 int i, carry = 0; in add_reg() local
175 u64 tmp = (u64)be32_to_cpu(reg[i]) + be32_to_cpu(add[i]) + carry; in add_reg()
176 carry = tmp >> 32; in add_reg()
180 return !carry; in add_reg()
/arch/c6x/lib/
Dcsum_64plus.S252 ; unsigned int carry = 0;
257 ; result += carry;
259 ; carry = (w > result);
261 ; result += carry;
/arch/arm/crypto/
Dghash-ce-glue.c151 u64 carry = be64_to_cpu(k->a) >> 63; in ghash_reflect() local
153 h[0] = (be64_to_cpu(k->b) << 1) | carry; in ghash_reflect()
156 if (carry) in ghash_reflect()
Dsha1-armv4-large.S304 cmn sp,#0 @ [+3], clear carry to denote 20_39
386 ARM( teq r14,sp ) @ preserve carry
388 THUMB( teq r14,r11 ) @ preserve carry
485 cmp sp,#0 @ set carry to denote 60_79
/arch/m68k/fpsp040/
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.
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
Dround.S213 bccs xcc_clr |test for carry out
214 addql #1,LOCAL_HI(%a0) |propagate carry
233 addql #1,LOCAL_HI(%a0) |propagate carry
/arch/arm/lib/
Ddiv64.S102 @ divisor for comparisons, considering the carry-out bit as well.
114 @ The top part of remainder became zero. If carry is set
Dcsumpartial.S71 .Ldone: adc r0, sum, #0 @ collect up the last carry
/arch/x86/crypto/
Dghash-clmulni-intel_asm.S65 # carry-less multiplication
/arch/m68k/ifpsp060/src/
Dilsp.S400 bcc ldd2nd # no carry, do next quotient digit
466 addx.w %d4, %d3 # add any carry to m*m product
468 addx.w %d4, %d3 # add any carry to m*m product
564 addx.l %d4,%d3 # [4] + carry
566 addx.l %d4,%d3 # [4] + carry
690 addx.l %d4,%d3 # [4] + carry
692 addx.l %d4,%d3 # [4] + carry
/arch/m68k/lib/
Dudivsi3.S148 jcs L2 | if no carry,
/arch/arm64/crypto/
Dghash-ce-glue.c216 u64 carry = be64_to_cpu(k->a) & BIT(63) ? 1 : 0; in ghash_reflect() local
218 h[0] = (be64_to_cpu(k->b) << 1) | carry; in ghash_reflect()
221 if (carry) in ghash_reflect()
/arch/alpha/math-emu/
Dqrnnd.S148 cmpult n1,n0,tmp # tmp := carry from addq
/arch/arm/nwfpe/
Dsoftfloat-macros340 any carry out is lost. The result is broken into two 64-bit pieces which
360 modulo 2^192, so any carry out is lost. The result is broken into three
399 2^128, so any borrow out (carry out) is lost. The result is broken into two
418 Subtraction is modulo 2^192, so any borrow out (carry out) is lost. The
/arch/um/drivers/
DKconfig184 which can carry any Ethernet frame (and hence even non-IP packets),
185 the slip transport can only carry IP packets.

12