aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/diagrams/avx512.svg61
1 files changed, 61 insertions, 0 deletions
diff --git a/tests/diagrams/avx512.svg b/tests/diagrams/avx512.svg
new file mode 100644
index 0000000..5bdf1a4
--- /dev/null
+++ b/tests/diagrams/avx512.svg
@@ -0,0 +1,61 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="912" height="256" class="svgbob"><style>.svgbob line, .svgbob path, .svgbob circle, .svgbob rect, .svgbob polygon {
+ stroke: black;
+ stroke-width: 2;
+ stroke-opacity: 1;
+ fill-opacity: 1;
+ stroke-linecap: round;
+ stroke-linejoin: miter;
+}
+.svgbob text {
+ white-space: pre;
+ fill: black;
+ font-family: Iosevka Fixed, monospace;
+ font-size: 14px;
+}
+.svgbob rect.backdrop {
+ stroke: none;
+ fill: white;
+}
+.svgbob .broken {
+ stroke-dasharray: 8;
+}
+.svgbob .filled {
+ fill: black;
+}
+.svgbob .bg_filled {
+ fill: white;
+ stroke-width: 1;
+}
+.svgbob .nofill {
+ fill: white;
+}
+.svgbob .end_marked_arrow {
+ marker-end: url(#arrow);
+}
+.svgbob .start_marked_arrow {
+ marker-start: url(#arrow);
+}
+.svgbob .end_marked_diamond {
+ marker-end: url(#diamond);
+}
+.svgbob .start_marked_diamond {
+ marker-start: url(#diamond);
+}
+.svgbob .end_marked_circle {
+ marker-end: url(#circle);
+}
+.svgbob .start_marked_circle {
+ marker-start: url(#circle);
+}
+.svgbob .end_marked_open_circle {
+ marker-end: url(#open_circle);
+}
+.svgbob .start_marked_open_circle {
+ marker-start: url(#open_circle);
+}
+.svgbob .end_marked_big_open_circle {
+ marker-end: url(#big_open_circle);
+}
+.svgbob .start_marked_big_open_circle {
+ marker-start: url(#big_open_circle);
+}<!--separator--></style><defs><marker id="arrow" viewBox="-2 -2 8 8" refX="4" refY="2" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><polygon points="0,0 0,4 4,2 0,0"></polygon></marker><marker id="diamond" viewBox="-2 -2 8 8" refX="4" refY="2" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><polygon points="0,2 2,0 4,2 2,4 0,2"></polygon></marker><marker id="circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><circle cx="4" cy="4" r="2" class="filled"></circle></marker><marker id="open_circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><circle cx="4" cy="4" r="2" class="bg_filled"></circle></marker><marker id="big_open_circle" viewBox="0 0 8 8" refX="4" refY="4" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><circle cx="4" cy="4" r="3" class="bg_filled"></circle></marker></defs><rect class="backdrop" x="0" y="0" width="912" height="256"></rect><text x="58" y="60" >Row</text><text x="106" y="60" >Col</text><text x="138" y="60" >3</text><text x="170" y="60" >Col</text><text x="202" y="60" >4</text><text x="234" y="60" >Col</text><text x="266" y="60" >0</text><text x="298" y="60" >Col</text><text x="330" y="60" >1</text><text x="362" y="60" >Col</text><text x="394" y="60" >2</text><text x="66" y="92" >2</text><text x="106" y="92" >s[13]</text><text x="170" y="92" >s[14]</text><text x="234" y="92" >s[10]</text><text x="298" y="92" >s[11]</text><text x="362" y="92" >s[12]</text><text x="66" y="124" >1</text><text x="106" y="124" >s[08]</text><text x="170" y="124" >s[09]</text><text x="234" y="124" >s[05]</text><text x="298" y="124" >s[06]</text><text x="362" y="124" >s[07]</text><text x="66" y="156" >0</text><text x="106" y="156" >s[03]</text><text x="170" y="156" >s[04]</text><text x="234" y="156" >s[00]</text><text x="298" y="156" >s[01]</text><text x="362" y="156" >s[02]</text><text x="66" y="188" >4</text><text x="106" y="188" >s[23]</text><text x="170" y="188" >s[24]</text><text x="234" y="188" >s[20]</text><text x="298" y="188" >s[21]</text><text x="362" y="188" >s[22]</text><text x="66" y="220" >3</text><text x="106" y="220" >s[18]</text><text x="170" y="220" >s[19]</text><text x="234" y="220" >s[15]</text><text x="298" y="220" >s[16]</text><text x="362" y="220" >s[17]</text><text x="466" y="60" >Register</text><text x="554" y="60" >Lane</text><text x="594" y="60" >0</text><text x="626" y="60" >Lane</text><text x="666" y="60" >1</text><text x="698" y="60" >Lane</text><text x="738" y="60" >2</text><text x="770" y="60" >Lane</text><text x="810" y="60" >3</text><text x="842" y="60" >Lane</text><text x="882" y="60" >4</text><text x="482" y="92" >r0</text><text x="562" y="92" >s[00]</text><text x="634" y="92" >s[01]</text><text x="706" y="92" >s[02]</text><text x="778" y="92" >s[03]</text><text x="850" y="92" >s[04]</text><text x="482" y="124" >r1</text><text x="562" y="124" >s[05]</text><text x="634" y="124" >s[06]</text><text x="706" y="124" >s[07]</text><text x="778" y="124" >s[08]</text><text x="850" y="124" >s[09]</text><text x="482" y="156" >r2</text><text x="562" y="156" >s[10]</text><text x="634" y="156" >s[11]</text><text x="706" y="156" >s[12]</text><text x="778" y="156" >s[13]</text><text x="850" y="156" >s[14]</text><text x="482" y="188" >r3</text><text x="562" y="188" >s[15]</text><text x="634" y="188" >s[16]</text><text x="706" y="188" >s[17]</text><text x="778" y="188" >s[18]</text><text x="850" y="188" >s[19]</text><text x="482" y="220" >r4</text><text x="562" y="220" >s[20]</text><text x="634" y="220" >s[21]</text><text x="706" y="220" >s[22]</text><text x="778" y="220" >s[23]</text><text x="850" y="220" >s[24]</text><line x1="424" y1="136" x2="432" y2="136" class="solid"></line><polygon points="432,132 440,136 432,140" class="filled"></polygon><text x="58" y="28" >Keccak State</text><text x="466" y="28" >Keccak State in 64-bit Lanes of AVX-512 Registers</text><g><path d="M 52,8 A 8,8 0,0,0 44,16" class="nofill"></path><line x1="52" y1="8" x2="404" y2="8" class="solid"></line><path d="M 404,8 A 8,8 0,0,1 412,16" class="nofill"></path><line x1="44" y1="16" x2="44" y2="224" class="solid"></line><line x1="412" y1="16" x2="412" y2="224" class="solid"></line><line x1="44" y1="40" x2="412" y2="40" class="solid"></line><line x1="92" y1="40" x2="92" y2="232" class="solid"></line><line x1="156" y1="40" x2="156" y2="232" class="solid"></line><line x1="220" y1="40" x2="220" y2="232" class="solid"></line><line x1="284" y1="40" x2="284" y2="232" class="solid"></line><line x1="348" y1="40" x2="348" y2="232" class="solid"></line><line x1="44" y1="72" x2="412" y2="72" class="solid"></line><line x1="44" y1="104" x2="412" y2="104" class="solid"></line><line x1="44" y1="136" x2="412" y2="136" class="solid"></line><line x1="44" y1="168" x2="412" y2="168" class="solid"></line><line x1="44" y1="200" x2="412" y2="200" class="solid"></line><path d="M 44,224 A 8,8 0,0,0 52,232" class="nofill"></path><line x1="52" y1="232" x2="404" y2="232" class="solid"></line><path d="M 412,224 A 8,8 0,0,1 404,232" class="nofill"></path></g><g><path d="M 460,8 A 8,8 0,0,0 452,16" class="nofill"></path><line x1="460" y1="8" x2="892" y2="8" class="solid"></line><path d="M 892,8 A 8,8 0,0,1 900,16" class="nofill"></path><line x1="452" y1="16" x2="452" y2="224" class="solid"></line><line x1="900" y1="16" x2="900" y2="224" class="solid"></line><line x1="452" y1="40" x2="900" y2="40" class="solid"></line><line x1="540" y1="40" x2="540" y2="232" class="solid"></line><line x1="612" y1="40" x2="612" y2="232" class="solid"></line><line x1="684" y1="40" x2="684" y2="232" class="solid"></line><line x1="756" y1="40" x2="756" y2="232" class="solid"></line><line x1="828" y1="40" x2="828" y2="232" class="solid"></line><line x1="452" y1="72" x2="900" y2="72" class="solid"></line><line x1="452" y1="104" x2="900" y2="104" class="solid"></line><line x1="452" y1="136" x2="900" y2="136" class="solid"></line><line x1="452" y1="168" x2="900" y2="168" class="solid"></line><line x1="452" y1="200" x2="900" y2="200" class="solid"></line><path d="M 452,224 A 8,8 0,0,0 460,232" class="nofill"></path><line x1="460" y1="232" x2="892" y2="232" class="solid"></line><path d="M 900,224 A 8,8 0,0,1 892,232" class="nofill"></path></g></svg> \ No newline at end of file