diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-11-26 15:03:54 +0000 |
---|---|---|
committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-17 15:37:34 +0000 |
commit | 10d962d5342e84630b258dbd89668c359549b5b5 (patch) | |
tree | 29488974d8863b6ee17bef9fc639b978c56e19e7 /arch/mips/math-emu/cp1emu.c | |
parent | c893ce38b265d5787d03850b36221f595b224538 (diff) | |
download | linux-10d962d5342e84630b258dbd89668c359549b5b5.tar.gz linux-10d962d5342e84630b258dbd89668c359549b5b5.tar.bz2 linux-10d962d5342e84630b258dbd89668c359549b5b5.zip |
MIPS: Emulate the new MIPS R6 BNVC, BNEC and BNEZLAC instructions
MIPS R6 uses the <R6 DADDI opcode for the new BNVC, BNEC and
BNEZLAC instructions.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/math-emu/cp1emu.c')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index c115d969664b..0d8407b51470 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c @@ -624,6 +624,7 @@ static int isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn, dec_insn.next_pc_inc; return 1; case cbcond0_op: + case cbcond1_op: if (!cpu_has_mips_r6) break; if (insn.i_format.rt && !insn.i_format.rs) |