]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Don't try to decode microMIPS branch instructions where they cannot exist.
authorDavid Daney <david.daney@cavium.com>
Fri, 24 May 2013 20:54:09 +0000 (20:54 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 27 Jun 2013 11:08:46 +0000 (13:08 +0200)
commit379b4e8cdcc277506576176048ea1cd5e4989f4f
treebfb4cadda6847ba18efeea37fea77eb592d1cdb7
parentafa1fcf7213f5aa2b8fa595dd4e6043e720085c3
MIPS: Don't try to decode microMIPS branch instructions where they cannot exist.

In mm_isBranchInstr() we can short circuit the entire function if
!cpu_has_mmips.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5326/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c