summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/uasm-mips.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-04-14 15:42:31 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-05-30 15:57:44 +0200
commit16d21a812f6bfcbfa84ccc19d38abe797c71b73e (patch)
treec4f59ef3ae131b04ab53a6c5baf9cbfee5724694 /arch/mips/mm/uasm-mips.c
parenta8e897ad00d3cfd0ab9029978f0c3f8ecd6fba61 (diff)
downloadblackbird-op-linux-16d21a812f6bfcbfa84ccc19d38abe797c71b73e.tar.gz
blackbird-op-linux-16d21a812f6bfcbfa84ccc19d38abe797c71b73e.zip
MIPS: uasm: Add mflo 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>
Diffstat (limited to 'arch/mips/mm/uasm-mips.c')
-rw-r--r--arch/mips/mm/uasm-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c
index 9dd15168e849..4f9114b2ff34 100644
--- a/arch/mips/mm/uasm-mips.c
+++ b/arch/mips/mm/uasm-mips.c
@@ -96,6 +96,7 @@ static struct insn insn_table[] = {
{ insn_lwx, M(spec3_op, 0, 0, 0, lwx_op, lx_op), RS | RT | RD },
{ 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_mflo, M(spec_op, 0, 0, 0, 0, mflo_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 },
OpenPOWER on IntegriCloud