From: David Daney Date: Thu, 16 Aug 2012 18:15:22 +0000 (-0700) Subject: MIPS: Optimize pgd_init and pmd_init X-Git-Tag: v3.7-rc1~1^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f59a2d22a05272034e856b7a2dd7a3ab7864a2ae;p=pandora-kernel.git MIPS: Optimize pgd_init and pmd_init On a dual issue processor GCC generates code that saves a couple of clock cycles per loop if we rearrange things slightly. Checking for p != end saves a SLTU per loop, moving the increment to the middle can let it dual issue on multi-issue processors. Signed-off-by: David Daney Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/4249/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed