aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/diagrams/README.md9
-rw-r--r--tests/diagrams/avx512.txt17
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/diagrams/README.md b/tests/diagrams/README.md
new file mode 100644
index 0000000..830ac53
--- /dev/null
+++ b/tests/diagrams/README.md
@@ -0,0 +1,9 @@
+# Diagrams
+
+Text source code for diagrams generated with [graphviz][] and
+[svgbob][].
+
+[graphviz]: https://graphviz.org/
+ "Graph visualization software"
+[svgbob]: https://github.com/ivanceras/svgbob
+ "Convert ASCII diagrams to SVG"
diff --git a/tests/diagrams/avx512.txt b/tests/diagrams/avx512.txt
new file mode 100644
index 0000000..0447149
--- /dev/null
+++ b/tests/diagrams/avx512.txt
@@ -0,0 +1,17 @@
+
+ .-------------------------------------------. .-----------------------------------------------------.
+ | "Keccak State" | | "Keccak State in 64-bit Lanes of AVX-512 Registers" |
+ |-----+-------+-------+-------+-------+-------| |----------+--------+--------+--------+--------+--------|
+ | Row | Col 3 | Col 4 | Col 0 | Col 1 | Col 2 | | Register | Lane 0 | Lane 1 | Lane 2 | Lane 3 | Lane 4 |
+ |-----+-------+-------+-------+-------+-------| |----------|--------+--------|--------|--------|--------|
+ | 2 | s[13] | s[14] | s[10] | s[11] | s[12] | | r0 | s[00] | s[01] | s[02] | s[03] | s[04] |
+ |-----+-------+-------+-------+-------+-------| |----------|--------|--------|--------|--------|--------|
+ | 1 | s[08] | s[09] | s[05] | s[06] | s[07] | | r1 | s[05] | s[06] | s[07] | s[08] | s[09] |
+ |-----+-------+-------+-------+-------+-------| -> |----------|--------|--------|--------|--------|--------|
+ | 0 | s[03] | s[04] | s[00] | s[01] | s[02] | | r2 | s[10] | s[11] | s[12] | s[13] | s[14] |
+ |-----+-------+-------+-------+-------+-------| |----------|--------|--------|--------|--------|--------|
+ | 4 | s[23] | s[24] | s[20] | s[21] | s[22] | | r3 | s[15] | s[16] | s[17] | s[18] | s[19] |
+ |-----+-------+-------+-------+-------+-------| |----------|--------|--------|--------|--------|--------|
+ | 3 | s[18] | s[19] | s[15] | s[16] | s[17] | | r4 | s[20] | s[21] | s[22] | s[23] | s[24] |
+ '----+-------+-------+-------+-------+------' '---------+--------+--------+--------+--------+-------'
+