patch-2.1.79 linux/arch/alpha/lib/csum_ipv6_magic.S
Next file: linux/arch/i386/defconfig
Previous file: linux/arch/alpha/kernel/t2.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Jan 12 14:49:36 1998
- Orig file:
v2.1.78/linux/arch/alpha/lib/csum_ipv6_magic.S
- Orig date:
Thu Feb 6 02:44:41 1997
diff -u --recursive --new-file v2.1.78/linux/arch/alpha/lib/csum_ipv6_magic.S linux/arch/alpha/lib/csum_ipv6_magic.S
@@ -58,10 +58,14 @@
addq $3,$1,$3 # .. e1 :
addq $0,$3,$0 # e0 :
unop # :
- extwl $0,2,$1 # e0 :
+ extwl $0,2,$1 # e0 : fold 18-bit value
zapnot $0,3,$0 # .. e1 :
addq $0,$1,$0 # e0 :
- not $0,$0 # e1 :
+ unop # :
+ extwl $0,2,$1 # e0 : fold 17-bit value
+ zapnot $0,3,$0 # .. e1 :
+ addq $0,$1,$0 # e0 :
+ not $0,$0 # e1 : and compliment.
zapnot $0,3,$0 # e0 :
ret # .. e1 :
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov