qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RISU PATCH v2 10/22] sve2.risu: Add patterns for crypto operations


From: Stephen Long
Subject: [RISU PATCH v2 10/22] sve2.risu: Add patterns for crypto operations
Date: Thu, 21 May 2020 12:24:59 -0700

Signed-off-by: Stephen Long <address@hidden>
---
 sve2.risu | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sve2.risu b/sve2.risu
index 725bbd2..6177848 100755
--- a/sve2.risu
+++ b/sve2.risu
@@ -272,6 +272,18 @@ HISTSEG     A64_V    01000101 size:2 1 zm:5 101000 zn:5 
zd:5 \
 HISTCNT     A64_V    01000101 size:2 1 zm:5 110 pg:3 zn:5 zd:5 \
 !constraints { $size > 1; }
 
+# Crypto Extensions
+## crypto unary operations
+AESMC       A64_V    01000101 size:2 10000011100 0 00000 zdn:5
+AESIMC      A64_V    01000101 size:2 10000011100 1 00000 zdn:5
+## crypto destructive binary operations
+AESE        A64_V    01000101 00 10001 0 11100 0 zm:5 zdn:5
+AESD        A64_V    01000101 00 10001 0 11100 1 zm:5 zdn:5
+SM4E        A64_V    01000101 00 10001 1 11100 0 zm:5 zdn:5
+## crypto constructive binary operations
+SM4EKEY     A64_V    01000101 00 1 zm:5 11110 0 zn:5 zd:5
+RAX1        A64_V    01000101 00 1 zm:5 11110 1 zn:5 zd:5
+
 # Floating Point Pairwise
 FADDP       A64_V    01100100 size:2 010 000 100 pg:3 zm:5 zdn:5 \
 !constraints { $size != 0; }
-- 
2.25.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]