提交 d86a8123 编写于 作者: R Ralf Baechle

MIPS: IP checksums: Remove unncessary folding of sum to 16 bit.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 384740dc
......@@ -276,11 +276,6 @@ LEAF(csum_partial)
dsra32 sum, sum, 0
addu sum, v1
#endif
sll v1, sum, 16
addu sum, v1
sltu v1, sum, v1
srl sum, sum, 16
addu sum, v1
/* odd buffer alignment? */
beqz t7, 1f
......@@ -678,11 +673,6 @@ EXC( sb t0, NBYTES-2(dst), .Ls_exc)
dsra32 sum, sum, 0
addu sum, v1
#endif
sll v1, sum, 16
addu sum, v1
sltu v1, sum, v1
srl sum, sum, 16
addu sum, v1
/* odd buffer alignment? */
beqz odd, 1f
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册