From: "Alex Bennée" <alex.bennee@linaro.org>
To: peter.maydell@linaro.org
Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org,
richard.henderson@linaro.org,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: [PATCH v1 3/8] aarch64.risu: add cryptographic extensions for v8.2
Date: Fri, 23 Feb 2018 15:46:08 +0000 [thread overview]
Message-ID: <20180223154613.2096-4-alex.bennee@linaro.org> (raw)
In-Reply-To: <20180223154613.2096-1-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
aarch64.risu | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/aarch64.risu b/aarch64.risu
index 838bded..06a9f3c 100644
--- a/aarch64.risu
+++ b/aarch64.risu
@@ -2937,3 +2937,35 @@ FCVTZUsi_RES A64_V sf:1 0011110 1 type:1 1 11 001 000000 rn:5 rd:5
# End of:
# Data processing - SIMD and floating point
# Data processing - Scalar Floating-Point and Advanced SIMD
+
+# These are optional ARMv8.2 cryptographic extensions
+@v8.2,Cryptographic,CryptographicSHA
+
+# Cryptographic three-register SHA 512
+# 31 21 20 16 15 14 13 12 11 10 9 5 4 0
+# 11001110011 Rm 1 O 0 0 opcode Rn Rd
+
+SHA512H A64_V 1100 1110 011 rm:5 1 0 00 00 rn:5 rd:5
+SHA512H2 A64_V 1100 1110 011 rm:5 1 0 00 01 rn:5 rd:5
+SHA512SUI A64_V 1100 1110 011 rm:5 1 0 00 10 rn:5 rd:5
+RAX1 A64_V 1100 1110 011 rm:5 1 0 00 11 rn:5 rd:5
+SM3PARTW1 A64_V 1100 1110 011 rm:5 1 1 00 00 rn:5 rd:5
+SM3PARTW2 A64_V 1100 1110 011 rm:5 1 1 00 01 rn:5 rd:5
+SM4 A64_V 1100 1110 011 rm:5 1 1 00 10 rn:5 rd:5
+
+# Cryptographic four-register
+# 31 23 22 21 20 16 15 14 10 9 5 4 0
+# 1100 1110 0 Op0 Rm 0 Ra Rn Rd
+
+EOR3 A64_V 1110 1110 0 00 rm:5 0 ra:5 rn:5 rd:5
+BCAX A64_V 1110 1110 0 01 rm:5 0 ra:5 rn:5 rd:5
+SM3SS1 A64_V 1110 1110 0 10 rm:5 0 ra:5 rn:5 rd:5
+
+# Cryptographic two-register SHA 512
+# 31 12 11 10 9 5 4 0
+# 1100 1110 1100 0000 1000 op Rn Rd
+
+SHA512SU0 A64_V 1100 1110 1100 0000 1000 00 rn:5 rd:5
+SM4E A64_V 1100 1110 1100 0000 1000 01 rn:5 rd:5
+
+@
--
2.15.1
next prev parent reply other threads:[~2018-02-23 15:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 15:46 [PATCH REPOST v1 0/8] Group support and random clean-ups Alex Bennée
2018-02-23 15:46 ` [PATCH v1 1/8] risugen: support @GroupName in risu files Alex Bennée
2018-02-23 15:46 ` [PATCH v1 2/8] aarch64.risu: clean-up and annotate with groups Alex Bennée
2018-02-23 15:46 ` Alex Bennée [this message]
2018-02-23 18:17 ` [PATCH v1 3/8] aarch64.risu: add cryptographic extensions for v8.2 Peter Maydell
2018-02-23 15:46 ` [PATCH v1 4/8] new contrib/generate_all.sh: batch risugen script Alex Bennée
2018-02-23 16:17 ` [Qemu-devel] " Daniel P. Berrangé
2018-02-23 16:42 ` Peter Maydell
2018-02-23 16:45 ` Alex Bennée
2018-02-23 16:49 ` Daniel P. Berrangé
2018-02-23 17:01 ` Peter Maydell
2018-02-23 17:05 ` Daniel P. Berrangé
2018-02-23 17:20 ` Alex Bennée
2018-02-23 15:46 ` [PATCH v1 5/8] contrib/run_risu.sh: allow appending of QEMU_FLAGS Alex Bennée
2018-02-23 18:12 ` Peter Maydell
2018-02-23 15:46 ` [PATCH v1 6/8] contrib/run_risu.sh: don't set -e Alex Bennée
2018-02-23 15:46 ` [PATCH v1 7/8] contrib/run_risu.sh: add a visual cue for a clean-run Alex Bennée
2018-02-23 15:46 ` [PATCH v1 8/8] aarch64.risu: update Floating-point data-processing (1 source) Alex Bennée
2018-02-23 18:23 ` [PATCH REPOST v1 0/8] Group support and random clean-ups Peter Maydell
2018-03-01 11:44 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180223154613.2096-4-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).