qemu-devel
[Top][All Lists]
Advanced

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

[RISU PATCH v2 09/22] sve2.risu: Add patterns for histogram computation


From: Stephen Long
Subject: [RISU PATCH v2 09/22] sve2.risu: Add patterns for histogram computation ops
Date: Thu, 21 May 2020 12:24:58 -0700

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

diff --git a/sve2.risu b/sve2.risu
index 5bd515c..725bbd2 100755
--- a/sve2.risu
+++ b/sve2.risu
@@ -266,6 +266,12 @@ MATCH       A64_V    01000101 size:2 1 zm:5 100 pg:3 zn:5 
0 pd:4 \
 NMATCH      A64_V    01000101 size:2 1 zm:5 100 pg:3 zn:5 1 pd:4 \
 !constraints { $size < 2; }
 
+# Histogram Computation
+HISTSEG     A64_V    01000101 size:2 1 zm:5 101000 zn:5 zd:5 \
+!constraints { $size != 0; }
+HISTCNT     A64_V    01000101 size:2 1 zm:5 110 pg:3 zn:5 zd:5 \
+!constraints { $size > 1; }
+
 # 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]