From 6a5aa94329c39aed01f4ca25aa3dc3f8ab73eaa9 Mon Sep 17 00:00:00 2001 From: Nicolas Brunie Date: Thu, 24 Aug 2023 06:26:14 -0700 Subject: [PATCH 1/2] =?UTF-8?q?Adding=20Zvkgs=20(GHMAC=20vector-scalar?= =?UTF-8?q?=C3=A0)=20opcodes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unratified/rv_zvkgs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 unratified/rv_zvkgs diff --git a/unratified/rv_zvkgs b/unratified/rv_zvkgs new file mode 100644 index 00000000..1252cae3 --- /dev/null +++ b/unratified/rv_zvkgs @@ -0,0 +1,8 @@ +# Zvkgs - Vector-Scalar GCM/GMAC + +# Vector Multiply over GHASH Galois-Field +vgmul.vs 31..26=0x29 25=1 vs2 19..15=0x11 14..12=0x2 vd 6..0=0x77 + +# Vector Add-Multiply over GHASH Galois-Field +vghsh.vs 31..26=0x23 25=1 vs2 vs1 14..12=0x2 vd 6..0=0x77 + From 85c285a1487f0cd6258727b7603c68aa62798987 Mon Sep 17 00:00:00 2001 From: Nicolas Brunie Date: Thu, 24 Aug 2023 06:26:44 -0700 Subject: [PATCH 2/2] adding mention of Zvbe32 in zvbc opcodes --- rv_zvbc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rv_zvbc b/rv_zvbc index 95bf4317..4f9ec2b8 100644 --- a/rv_zvbc +++ b/rv_zvbc @@ -1,4 +1,4 @@ -# Zvbc - Vector Carryless Multiplication +# Zvbc/Zvbce32 - Vector Carryless Multiplication # Carryless Multiply vclmul.vv 31..26=0x0C vm vs2 vs1 14..12=0x2 vd 6..0=0x57