]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Emulate the BC1{EQ,NE}Z FPU instructions
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 26 Nov 2014 10:10:18 +0000 (10:10 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:32 +0000 (15:37 +0000)
commita6d1a2a66cbe8d375042c14f158a4ce4762b1836
treeae78d1cc82562dfa92bcad4bcc7848343af21dc7
parent156c779c1d290a7e56d0529108bc033d71d1d5b0
MIPS: Emulate the BC1{EQ,NE}Z FPU instructions

MIPS R6 introduced the following two branch instructions for COP1:

BC1EQZ: Branch if Cop1 (FPR) Register Bit 0 is Equal to Zero
BC1NEZ: Branch if Cop1 (FPR) Register Bit 0 is Not Equal to Zero

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