]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb427276abbf1289b73a4248ca7822d7d1486f0ac
tree5d3d7fe683b6b0f82852a52d522c72f383befea1
parentb1d42286f28200362be9ccad44c045e16c7e48eb
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