aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/disas.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-08-25 17:31:30 -0700
committerRichard Henderson <richard.henderson@linaro.org>2019-09-04 12:59:00 -0700
commit3e0e41ef33a841bdefaaf2fd9224fd791da9d2c6 (patch)
treebd4cfcf51083e824012b1cb5d38638f87df9b9f9 /target/openrisc/disas.c
parenta465772eea8fef59bef9a9fe424b1af4866991f5 (diff)
target/openrisc: Implement l.adrp
This was added to the 1.3 spec. Reviewed-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/openrisc/disas.c')
-rw-r--r--target/openrisc/disas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/openrisc/disas.c b/target/openrisc/disas.c
index e51cbb24c6..ce112640b9 100644
--- a/target/openrisc/disas.c
+++ b/target/openrisc/disas.c
@@ -98,6 +98,7 @@ INSN(sw, "%d(r%d), r%d", a->i, a->a, a->b)
INSN(sb, "%d(r%d), r%d", a->i, a->a, a->b)
INSN(sh, "%d(r%d), r%d", a->i, a->a, a->b)
INSN(nop, "")
+INSN(adrp, "r%d, %d", a->d, a->i)
INSN(addi, "r%d, r%d, %d", a->d, a->a, a->i)
INSN(addic, "r%d, r%d, %d", a->d, a->a, a->i)
INSN(muli, "r%d, r%d, %d", a->d, a->a, a->i)