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>
Mon, 1 Jul 2013 13:10:57 +0000 (15:10 +0200)
commitfe6d29095d4370bed3a525404c45bbd6aa7c191b
tree1e62d46be2642ce38dc3d59f49d19403c923e9f9
parent74338805ec6869594d583535f941cb478c94dd73
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