OSDN Git Service

mips, uasm: Enable muhu opcode for MIPS R6
authorTony Ambardar <Tony.Ambardar@gmail.com>
Tue, 5 Oct 2021 16:54:02 +0000 (18:54 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 6 Oct 2021 19:28:02 +0000 (12:28 -0700)
commite737547eab6af8b57d77f7ba323c8d2d6b1a0008
tree5d3d7fe683b6b0f82852a52d522c72f383befea1
parent9d05787223913171fce20a737ba54e3b6e7da13c
mips, uasm: Enable muhu opcode for MIPS R6

Enable the 'muhu' instruction, complementing the existing 'mulu', needed
to implement a MIPS32 BPF JIT.

Also fix a typo in the existing definition of 'dmulu'.

Signed-off-by: Tony Ambardar <Tony.Ambardar@gmail.com>
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211005165408.2305108-2-johan.almbladh@anyfinetworks.com
arch/mips/include/asm/uasm.h
arch/mips/mm/uasm-mips.c
arch/mips/mm/uasm.c