diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-04-08 12:47:13 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-30 15:54:39 +0200 |
commit | a8e897ad00d3cfd0ab9029978f0c3f8ecd6fba61 (patch) | |
tree | ddd6a13c011c4330e9897ea354943e27c27330ed /arch/mips/mm/uasm-mips.c | |
parent | d6b3314b49e12e8c349deb4ca28e7028db00728f (diff) | |
download | op-kernel-dev-a8e897ad00d3cfd0ab9029978f0c3f8ecd6fba61.zip op-kernel-dev-a8e897ad00d3cfd0ab9029978f0c3f8ecd6fba61.tar.gz |
MIPS: uasm: Add mul uasm instruction
It will be used later on by bpf-jit
[ralf@linux-mips.org: Resolved conflict.]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/6736/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/uasm-mips.c')
-rw-r--r-- | arch/mips/mm/uasm-mips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c index cb75d45..9dd1516 100644 --- a/arch/mips/mm/uasm-mips.c +++ b/arch/mips/mm/uasm-mips.c @@ -97,6 +97,7 @@ static struct insn insn_table[] = { { insn_mfc0, M(cop0_op, mfc_op, 0, 0, 0, 0), RT | RD | SET}, { insn_mfhi, M(spec_op, 0, 0, 0, 0, mfhi_op), RD }, { insn_mtc0, M(cop0_op, mtc_op, 0, 0, 0, 0), RT | RD | SET}, + { insn_mul, M(spec2_op, 0, 0, 0, 0, mul_op), RS | RT | RD}, { insn_ori, M(ori_op, 0, 0, 0, 0, 0), RS | RT | UIMM }, { insn_or, M(spec_op, 0, 0, 0, 0, or_op), RS | RT | RD }, { insn_pref, M(pref_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, |