summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/uasm-mips.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2014-03-16 12:58:05 +0000
committerPaul Burton <paul.burton@imgtec.com>2014-05-28 16:20:26 +0100
commit49e9529b9d43773307b8c73bd251b71784830c3d (patch)
tree15cda21aec6828b811af3f8af30a3bf438525dcb /arch/mips/mm/uasm-mips.c
parent8dee5901b20c5c95278aa3a462eb82826ff98b37 (diff)
downloadblackbird-op-linux-49e9529b9d43773307b8c73bd251b71784830c3d.tar.gz
blackbird-op-linux-49e9529b9d43773307b8c73bd251b71784830c3d.zip
MIPS: uasm: add jalr instruction
This patch allows use of the jalr instruction from uasm. It will be used by a subsequent patch. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/mm/uasm-mips.c')
-rw-r--r--arch/mips/mm/uasm-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c
index 3abd609518c9..45e3dc593dfb 100644
--- a/arch/mips/mm/uasm-mips.c
+++ b/arch/mips/mm/uasm-mips.c
@@ -82,6 +82,7 @@ static struct insn insn_table[] = {
{ insn_ins, M(spec3_op, 0, 0, 0, 0, ins_op), RS | RT | RD | RE },
{ insn_j, M(j_op, 0, 0, 0, 0, 0), JIMM },
{ insn_jal, M(jal_op, 0, 0, 0, 0, 0), JIMM },
+ { insn_jalr, M(spec_op, 0, 0, 0, 0, jalr_op), RS | RD },
{ insn_j, M(j_op, 0, 0, 0, 0, 0), JIMM },
{ insn_jr, M(spec_op, 0, 0, 0, 0, jr_op), RS },
{ insn_ld, M(ld_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
OpenPOWER on IntegriCloud