MIPS: Emulate the new MIPS R6 BOVC, BEQC and BEQZALC instructions
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 26 Nov 2014 14:08:52 +0000 (14:08 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:34 +0000 (15:37 +0000)
MIPS R6 uses the <R6 ADDI opcode for the new BOVC, BEQC and
BEQZALC instructions.

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

index 9ce5e34..782af0f 100644 (file)
@@ -21,7 +21,7 @@
 enum major_op {
        spec_op, bcond_op, j_op, jal_op,
        beq_op, bne_op, blez_op, bgtz_op,
-       addi_op, addiu_op, slti_op, sltiu_op,
+       addi_op, cbcond0_op = addi_op, addiu_op, slti_op, sltiu_op,
        andi_op, ori_op, xori_op, lui_op,
        cop0_op, cop1_op, cop2_op, cop1x_op,
        beql_op, bnel_op, blezl_op, bgtzl_op,
Simple merge
Simple merge