diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2018-12-05 13:52:30 -0500 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-12-07 16:30:48 -0500 |
commit | ee94b90c8acaa593b627f5f3fe93e076e7779f5c (patch) | |
tree | 4448eaaafbb857abc286215b121f37ed7656aefb /arch/mips/include/asm/uasm.h | |
parent | 17f6c83fb5ebf7db4fcc94a5be4c22d5a7bfe428 (diff) |
mips: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_X
Jitting of BPF_K is supported already, but not BPF_X. This patch complete
the support for the latter on both MIPS and microMIPS.
Cc: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch/mips/include/asm/uasm.h')
-rw-r--r-- | arch/mips/include/asm/uasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h index 59dae37f6b8d..b1990dd75f27 100644 --- a/arch/mips/include/asm/uasm.h +++ b/arch/mips/include/asm/uasm.h | |||
@@ -157,6 +157,7 @@ Ip_u2u1s3(_slti); | |||
157 | Ip_u2u1s3(_sltiu); | 157 | Ip_u2u1s3(_sltiu); |
158 | Ip_u3u1u2(_sltu); | 158 | Ip_u3u1u2(_sltu); |
159 | Ip_u2u1u3(_sra); | 159 | Ip_u2u1u3(_sra); |
160 | Ip_u3u2u1(_srav); | ||
160 | Ip_u2u1u3(_srl); | 161 | Ip_u2u1u3(_srl); |
161 | Ip_u3u2u1(_srlv); | 162 | Ip_u3u2u1(_srlv); |
162 | Ip_u3u1u2(_subu); | 163 | Ip_u3u1u2(_subu); |