aboutsummaryrefslogtreecommitdiff
path: root/thumb.risu
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-01-05 11:15:56 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-01-05 11:15:56 +0000
commit18f2641559cf7537a78f11736c3784c31f2b2702 (patch)
treecc7b1ed82c6c53ed7c23a605ce93dd7b1e81e502 /thumb.risu
parent1a903016b334f7c2391fb4197ccc143c3e054f26 (diff)
Add 32x32->32msb multiply patterns for ARM and Thumb.
Diffstat (limited to 'thumb.risu')
-rw-r--r--thumb.risu7
1 files changed, 7 insertions, 0 deletions
diff --git a/thumb.risu b/thumb.risu
index 8908a48..9d588d5 100644
--- a/thumb.risu
+++ b/thumb.risu
@@ -41,3 +41,10 @@
#QSUB T1 11111 010 1000 rn:4 1111 rd:4 1010 rm:4
PKH T1 11101 01 0110 0 rn:4 0 imma:3 rd:4 immb:2 tb 0 rm:4
+
+# 32x32->64 but result is high word only
+SMMLA T1 11111 0110 101 rn:4 ra:4 rd:4 000 r rm:4
+SMMLS T1 11111 0110 110 rn:4 ra:4 rd:4 000 r rm:4
+# Note that this doesn't overlap with SMMLA because of the implicit
+# constraints on registers fields (ie not 13 or 15)
+SMMUL T1 11111 0110 101 rn:4 1111 rd:4 000 r rm:4