summaryrefslogtreecommitdiff
path: root/arch/mips/mm/uasm.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-04-08 11:47:05 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2014-05-30 12:53:05 (GMT)
commitf31318fdf324901ce5a17ccc3d71213117fb44af (patch)
tree9bad1a2a21aeedb77fc3e23fb3826af396dabd62 /arch/mips/mm/uasm.c
parentbef581ba1c240cda9c550d314ca70c2b8deb6e87 (diff)
downloadlinux-f31318fdf324901ce5a17ccc3d71213117fb44af.tar.xz
MIPS: uasm: Add srlv uasm instruction
It will be used later on by bpf-jit [ralf@linux-mips.org: Fixed conflict due to other preceeding conflicts.] Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/6726/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/uasm.c')
-rw-r--r--arch/mips/mm/uasm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/mm/uasm.c b/arch/mips/mm/uasm.c
index 9372d82..567003c 100644
--- a/arch/mips/mm/uasm.c
+++ b/arch/mips/mm/uasm.c
@@ -52,9 +52,9 @@ enum opcode {
insn_ext, insn_ins, insn_j, insn_jal, insn_jalr, insn_jr, insn_ld,
insn_ldx, insn_ll, insn_lld, insn_lui, insn_lw, insn_lwx, insn_mfc0,
insn_mtc0, insn_or, insn_ori, insn_pref, insn_rfe, insn_rotr, insn_sc,
- insn_scd, insn_sd, insn_sll, insn_sllv, insn_sra, insn_srl, insn_subu,
- insn_sw, insn_sync, insn_syscall, insn_tlbp, insn_tlbr, insn_tlbwi,
- insn_tlbwr, insn_wait, insn_xor, insn_xori, insn_yield,
+ insn_scd, insn_sd, insn_sll, insn_sllv, insn_sra, insn_srl, insn_srlv,
+ insn_subu, insn_sw, insn_sync, insn_syscall, insn_tlbp, insn_tlbr,
+ insn_tlbwi, insn_tlbwr, insn_wait, insn_xor, insn_xori, insn_yield,
};
struct insn {
@@ -283,6 +283,7 @@ I_u2u1u3(_sll)
I_u3u2u1(_sllv)
I_u2u1u3(_sra)
I_u2u1u3(_srl)
+I_u3u2u1(_srlv)
I_u2u1u3(_rotr)
I_u3u1u2(_subu)
I_u2s3u1(_sw)