diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-04-08 07:47:08 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-30 09:54:38 -0400 |
commit | 7fa22681c4d6e12cc6aed91056d3e09d47572e6d (patch) | |
tree | c59a5344e216af4ec240d737abf96fba22c5b7e4 /arch/mips | |
parent | f3ec7a23b640a064410e31afe9a203f7c125460e (diff) |
MIPS: uasm: Add jalr uasm instruction
It will be used later on by bpf-jit
[ralf@linux-mips.org: Resolved conflict.]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/6729/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mm/uasm-micromips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-micromips.c b/arch/mips/mm/uasm-micromips.c index c04c9c95c3c7..6128cf3c8f1c 100644 --- a/arch/mips/mm/uasm-micromips.c +++ b/arch/mips/mm/uasm-micromips.c | |||
@@ -79,6 +79,7 @@ static struct insn insn_table_MM[] = { | |||
79 | { insn_ext, M(mm_pool32a_op, 0, 0, 0, 0, mm_ext_op), RT | RS | RD | RE }, | 79 | { insn_ext, M(mm_pool32a_op, 0, 0, 0, 0, mm_ext_op), RT | RS | RD | RE }, |
80 | { insn_j, M(mm_j32_op, 0, 0, 0, 0, 0), JIMM }, | 80 | { insn_j, M(mm_j32_op, 0, 0, 0, 0, 0), JIMM }, |
81 | { insn_jal, M(mm_jal32_op, 0, 0, 0, 0, 0), JIMM }, | 81 | { insn_jal, M(mm_jal32_op, 0, 0, 0, 0, 0), JIMM }, |
82 | { insn_jalr, M(mm_pool32a_op, 0, 0, 0, mm_jalr_op, mm_pool32axf_op), RT | RS }, | ||
82 | { insn_jr, M(mm_pool32a_op, 0, 0, 0, mm_jalr_op, mm_pool32axf_op), RS }, | 83 | { insn_jr, M(mm_pool32a_op, 0, 0, 0, mm_jalr_op, mm_pool32axf_op), RS }, |
83 | { insn_ld, 0, 0 }, | 84 | { insn_ld, 0, 0 }, |
84 | { insn_ll, M(mm_pool32c_op, 0, 0, (mm_ll_func << 1), 0, 0), RS | RT | SIMM }, | 85 | { insn_ll, M(mm_pool32c_op, 0, 0, (mm_ll_func << 1), 0, 0), RS | RT | SIMM }, |