]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Emulate the new MIPS R6 B{L,G}T{Z,}{AL,}C instructions
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 26 Nov 2014 13:05:09 +0000 (13:05 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:33 +0000 (15:37 +0000)
commit6e8415d9a6f0ca6832944d73d8926c0997c1fa20
treeeb23ac6695fecc5d565e3c21106ead25d9e672ea
parent497a908bb63041e4f60665600d2341a276bd47a2
MIPS: Emulate the new MIPS R6 B{L,G}T{Z,}{AL,}C instructions

MIPS R6 added the following four instructions which share the
BGTZ and BGTZL opcode:

BLTZALC: Compact branch-and-link if GPR rt is < to zero
BGTZALC: Compact branch-and-link if GPR rt is > to zero
BLTZL  : Compact branch if GPR rt is < to zero
BGTZL  : Compact branch if GPR rt is > to zero
BLTC   : Compact branch if GPR rs is less than GPR rt
BLTUC  : Similar to BLTC but unsigned

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/branch.c
arch/mips/math-emu/cp1emu.c