]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Optimize flow of csum_partial
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 7 Dec 2006 16:04:45 +0000 (01:04 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 9 Dec 2006 01:03:59 +0000 (01:03 +0000)
commit05a1971fcd170f96c5628a2887826b59dc54c133
treec238920f34ab310a7a3d426cefbf9ebb1d5ea78c
parent000fd66a33db42fe9a35a7d57d5002d04d5f54c3
[MIPS] Optimize flow of csum_partial

Delete dead codes at end of the function and move small_csumcopy
there.  This makes some labels (maybe_end_cruft, small_memcpy,
end_bytes, out) needless and eliminates some branches.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/csum_partial.S