aboutsummaryrefslogtreecommitdiff
path: root/thumb.risu
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-01-17 10:33:50 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-01-17 10:33:50 +0000
commit401f09df291f48ca1066652fb39de363edcd8619 (patch)
tree92830c371ee45362daca82c73840b675cce9f871 /thumb.risu
parent14f491c92500a1fbb18f7e459f3d3fa7be64f94b (diff)
thumb.risu: Add UDIV, SDIV patterns
Diffstat (limited to 'thumb.risu')
-rw-r--r--thumb.risu4
1 files changed, 4 insertions, 0 deletions
diff --git a/thumb.risu b/thumb.risu
index c6038b0..cd8ba24 100644
--- a/thumb.risu
+++ b/thumb.risu
@@ -74,6 +74,10 @@ AND T2 11101 01 0000 s rn:4 0 imm:3 rd:4 imm2:2 type:2 rm:4
BIC T1 010000 1110 rm:3 rd:3
BIC T2 11101 01 0001 s rn:4 0 imm:3 rd:4 imm2:2 type:2 rm:4
+# divide (for A profile, A15 and above only)
+SDIV T1 11111 011100 1 rn:4 1111 rd:4 1111 rm:4
+UDIV T1 11111 011101 1 rn:4 1111 rd:4 1111 rm:4
+
##############################################################################
# Loads and stores
##############################################################################