]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
MIPS: Separate two consecutive loads in memset.S
authorTony Wu <tung7970@gmail.com>
Wed, 10 Nov 2010 13:48:15 +0000 (21:48 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 16 Dec 2010 18:10:57 +0000 (18:10 +0000)
commite5674ad6ca9f1020c2bcc009a55becba3c30d8a3
tree05d9d2854ca16e6d4b2f87ddffd17926aa21e9bd
parent515b029d005b5694cf612a0a5ca6f861a7e45362
MIPS: Separate two consecutive loads in memset.S

partial_fixup is used in noreorder block.

Separating two consecutive loads can save one cycle on processors with
GPR intrelock and can fix load-use on processors that need a load delay slot.

Also do so for fwd_fixup.

[Ralf: Only R2000/R3000 class processors are lacking the the load-user
interlock and even some of those got it retrofitted.  With R2000/R3000
being fairly uncommon these days the impact of this bug should be minor.]

Signed-off-by: Tony Wu <tung7970@gmail.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1768/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/memset.S