diff options
author | David Daney <david.daney@cavium.com> | 2017-03-14 14:21:40 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-04-10 11:56:04 +0200 |
commit | bfbfa9d61cf29f3579107892c7347c02d891dfec (patch) | |
tree | 08e43f5482bdf60ddb681caa0bade496e644286b /arch/mips/mm/uasm-mips.c | |
parent | 05510f2b4819398a25ef432d72efa9e95419768a (diff) | |
download | blackbird-obmc-linux-bfbfa9d61cf29f3579107892c7347c02d891dfec.tar.gz blackbird-obmc-linux-bfbfa9d61cf29f3579107892c7347c02d891dfec.zip |
MIPS: uasm: Add support for LHU.
The follow-on BPF JIT patches use the LHU instruction, so add it.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Steven J. Hill <steven.hill@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15743/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/uasm-mips.c')
-rw-r--r-- | arch/mips/mm/uasm-mips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c index 763d3f1edb8a..2277499fe6ae 100644 --- a/arch/mips/mm/uasm-mips.c +++ b/arch/mips/mm/uasm-mips.c @@ -103,6 +103,7 @@ static struct insn insn_table[] = { { insn_ld, M(ld_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, { insn_ldx, M(spec3_op, 0, 0, 0, ldx_op, lx_op), RS | RT | RD }, { insn_lh, M(lh_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, + { insn_lhu, M(lhu_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, #ifndef CONFIG_CPU_MIPSR6 { insn_lld, M(lld_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, { insn_ll, M(ll_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, |