MIPS: uasm: Add div, mul and sel instructions for mipsr6
Add the following instructions for use by eBPF on mipsr6: insn_ddivu_r6, insn_divu_r6, insn_dmodu, insn_dmulu, insn_modu, insn_mulu, insn_seleqz, insn_selnez Signed-off-by:Hassan Naveed <hnaveed@wavecomp.com> Reviewed-by:
Paul Burton <paul.burton@mips.com> Signed-off-by:
Paul Burton <paul.burton@mips.com> Cc: kafai@fb.com Cc: songliubraving@fb.com Cc: yhs@fb.com Cc: netdev@vger.kernel.org Cc: bpf@vger.kernel.org Cc: linux-mips@vger.kernel.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: open list:MIPS <linux-mips@linux-mips.org> Cc: open list <linux-kernel@vger.kernel.org>
Showing
- arch/mips/include/asm/uasm.h 8 additions, 0 deletionsarch/mips/include/asm/uasm.h
- arch/mips/include/uapi/asm/inst.h 3 additions, 3 deletionsarch/mips/include/uapi/asm/inst.h
- arch/mips/mm/uasm-mips.c 14 additions, 0 deletionsarch/mips/mm/uasm-mips.c
- arch/mips/mm/uasm.c 24 additions, 15 deletionsarch/mips/mm/uasm.c
Loading
Please register or sign in to comment