]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: uasm: Add div, mul and sel instructions for mipsr6
authorHassan Naveed <hnaveed@wavecomp.com>
Tue, 12 Mar 2019 22:47:56 +0000 (22:47 +0000)
committerPaul Burton <paul.burton@mips.com>
Tue, 19 Mar 2019 22:26:06 +0000 (15:26 -0700)
commitd47fddea850bfea72cf9d50948608ed87cfcd6e7
tree13b6eb46a68442186461e2b0d54a29303f47472c
parent4e6b78bbf73b0494eae75957c166e75198392a0a
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>
arch/mips/include/asm/uasm.h
arch/mips/include/uapi/asm/inst.h
arch/mips/mm/uasm-mips.c
arch/mips/mm/uasm.c