summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/jump_label.h
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2012-08-16 11:15:22 -0700
committerRalf Baechle <ralf@linux-mips.org>2012-10-11 11:04:35 +0200
commitf59a2d22a05272034e856b7a2dd7a3ab7864a2ae (patch)
tree5111649972d2ea819f9f3e17096d263485c858c5 /arch/mips/include/asm/jump_label.h
parenta7911a8fd16201a28110c99ecb3deed8aebb4fdc (diff)
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 <ddaney@caviumnetworks.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/4249/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/jump_label.h')
0 files changed, 0 insertions, 0 deletions