aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/insns.decode
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-02-19 12:52:43 -0800
committerRichard Henderson <richard.henderson@linaro.org>2018-05-14 14:51:48 -0700
commit136e13ae65c654da39f54e300a23fc833a4980d4 (patch)
treea493f24e16f9bcb4a88465190f57c46e907e14af /target/openrisc/insns.decode
parent7de9729f08043399325e37b26637493313b4543d (diff)
target/openrisc: Convert branch insns
Acked-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/openrisc/insns.decode')
-rw-r--r--target/openrisc/insns.decode12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/openrisc/insns.decode b/target/openrisc/insns.decode
index 47d31afc5b..8d35011eab 100644
--- a/target/openrisc/insns.decode
+++ b/target/openrisc/insns.decode
@@ -26,3 +26,15 @@ l_trap 001000 0100000000 k:16
l_msync 001000 1000000000 00000000 00000000
l_psync 001000 1010000000 00000000 00000000
l_csync 001000 1100000000 00000000 00000000
+
+####
+# Branch Instructions
+####
+
+l_j 000000 n:s26
+l_jal 000001 n:s26
+l_bnf 000011 n:s26
+l_bf 000100 n:s26
+
+l_jr 010001 ---------- b:5 -----------
+l_jalr 010010 ---------- b:5 -----------