Added cray, simd diagrams. Slight correction to svp64_regs
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 27 Jun 2022 13:49:31 +0000 (14:49 +0100)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 27 Jun 2022 13:49:31 +0000 (14:49 +0100)
svp64-primer/img/cray_vector_regs.png [new file with mode: 0644]
svp64-primer/img/cray_vector_regs.svg [new file with mode: 0644]
svp64-primer/img/simd_axb.png [new file with mode: 0644]
svp64-primer/img/simd_axb.svg [new file with mode: 0644]
svp64-primer/img/svp64_regs.png
svp64-primer/img/svp64_regs.svg
svp64-primer/summary.tex

diff --git a/svp64-primer/img/cray_vector_regs.png b/svp64-primer/img/cray_vector_regs.png
new file mode 100644 (file)
index 0000000..b7e4f8a
Binary files /dev/null and b/svp64-primer/img/cray_vector_regs.png differ
diff --git a/svp64-primer/img/cray_vector_regs.svg b/svp64-primer/img/cray_vector_regs.svg
new file mode 100644 (file)
index 0000000..b84bdc0
--- /dev/null
@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="98mm"
+   height="50mm"
+   viewBox="0 0 98 50"
+   version="1.1"
+   id="svg8"
+   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
+   sodipodi:docname="cray_vector_regs.svg"
+   inkscape:export-filename="/home/rohdo/work/libreriscv/svp64-primer/img/cray_vector_regs.png"
+   inkscape:export-xdpi="200.0898"
+   inkscape:export-ydpi="200.0898">
+  <defs
+     id="defs2">
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         id="path1046"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-9"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-4"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-1"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-2"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-8"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-8"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-3"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-3"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-5"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-7"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-99"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-45"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-35"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-70"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-19"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-9"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.4"
+     inkscape:cx="196.81224"
+     inkscape:cy="31.317545"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:window-width="1230"
+     inkscape:window-height="1048"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0">
+    <inkscape:grid
+       type="xygrid"
+       id="grid815" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata5">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-247)">
+    <rect
+       style="opacity:0.93000034;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.465;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect817"
+       width="54.239586"
+       height="31.750002"
+       x="41.010418"
+       y="262.60416" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.398033"
+       y="266.14771"
+       id="text821"><tspan
+         sodipodi:role="line"
+         id="tspan819"
+         x="36.398033"
+         y="266.14771"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332">0</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.211998"
+       y="270.0809"
+       id="text821-9"><tspan
+         sodipodi:role="line"
+         id="tspan841"
+         x="36.211998"
+         y="270.0809">1</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.367027"
+       y="274.08517"
+       id="text821-9-2"><tspan
+         sodipodi:role="line"
+         id="tspan861"
+         x="36.367027"
+         y="274.08517">2</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.354626"
+       y="278.31851"
+       id="text821-9-4"><tspan
+         sodipodi:role="line"
+         id="tspan871"
+         x="36.354626"
+         y="278.31851">3</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.470379"
+       y="282.28693"
+       id="text821-9-4-9"><tspan
+         sodipodi:role="line"
+         id="tspan891"
+         x="36.470379"
+         y="282.28693">4</tspan></text>
+    <g
+       id="g1557"
+       transform="translate(-1.3229127,223.57293)">
+      <text
+         id="text821-3"
+         y="37.99839"
+         x="43.721321"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+         xml:space="preserve"><tspan
+           style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
+           y="37.99839"
+           x="43.721321"
+           id="tspan819-6"
+           sodipodi:role="line">0</tspan></text>
+    </g>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="46.322868"
+       y="261.48959"
+       id="text821-9-0"><tspan
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
+         sodipodi:role="line"
+         id="tspan841-5"
+         x="46.322868"
+         y="261.48959">1</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="50.304909"
+       y="261.47787"
+       id="text821-9-2-0"><tspan
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
+         sodipodi:role="line"
+         id="tspan861-2"
+         x="50.304909"
+         y="261.47787">2</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="54.355751"
+       y="261.41174"
+       id="text821-9-4-94"><tspan
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
+         sodipodi:role="line"
+         id="tspan871-3"
+         x="54.355751"
+         y="261.41174">3</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="58.298512"
+       y="261.41138"
+       id="text821-9-4-9-5"><tspan
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332"
+         sodipodi:role="line"
+         id="tspan891-1"
+         x="58.298512"
+         y="261.41138">4</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.375881"
+       y="285.92493"
+       id="text821-9-4-9-7-3"><tspan
+         style="stroke-width:0.26458332"
+         sodipodi:role="line"
+         id="tspan991-1"
+         x="36.375881"
+         y="285.92493">5</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="89.719078"
+       y="261.57129"
+       id="text821-9-4-9-7-4"><tspan
+         sodipodi:role="line"
+         id="tspan1019"
+         x="89.719078"
+         y="261.57129">63</tspan></text>
+    <g
+       id="g2711"
+       transform="translate(-3.9687468,216.95834)">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1021"
+         d="m 47.095833,53.583333 c 1.058334,0 1.058334,0 1.058334,0"
+         style="fill:none;stroke:#000000;stroke-width:0.16725789;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path1023"
+         d="m 47.625,53.054167 c 0,1.058333 0,1.058333 0,1.058333"
+         style="fill:none;stroke:#000000;stroke-width:0.16733716px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.167;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Send)"
+       d="m 43.656255,267.36668 c 0,-1.32292 0,-1.32292 0,-1.32292"
+       id="path1029"
+       inkscape:connector-curvature="0" />
+    <rect
+       style="opacity:0.93000034;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.46499997;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1487"
+       width="21.166666"
+       height="11.90625"
+       x="41.010418"
+       y="262.60416" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="72.994972"
+       y="260.40912"
+       id="text821-9-4-9-5-8"><tspan
+         sodipodi:role="line"
+         id="tspan1513"
+         x="72.994972"
+         y="260.40912">...</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.17543"
+       y="289.94708"
+       id="text821-9-4-9-7-3-0"><tspan
+         sodipodi:role="line"
+         id="tspan1533"
+         x="36.17543"
+         y="289.94708">6</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="36.17543"
+       y="293.91583"
+       id="text821-9-4-9-7-3-0-8"><tspan
+         sodipodi:role="line"
+         id="tspan1553"
+         x="36.17543"
+         y="293.91583">7</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="49.971561"
+       y="255.17328"
+       id="text821-9-4-9-7-3-0-9"><tspan
+         sodipodi:role="line"
+         id="tspan1567"
+         x="49.971561"
+         y="255.17328">element numbers</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="2.9135253"
+       y="253.66138"
+       id="text821-9-4-9-7-3-0-3"><tspan
+         sodipodi:role="line"
+         id="tspan1577"
+         x="2.9135253"
+         y="253.66138">Cray 1</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="3.2915013"
+       y="261.40985"
+       id="text821-9-4-9-7-3-0-37"><tspan
+         sodipodi:role="line"
+         id="tspan1587"
+         x="3.2915013"
+         y="261.40985">setvl 5</tspan><tspan
+         sodipodi:role="line"
+         id="tspan1589"
+         x="3.2915013"
+         y="266.70151">vadd r0,r1,r2</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="11.984955"
+       y="280.11969"
+       id="text821-9-4-9-7-3-0-2"><tspan
+         sodipodi:role="line"
+         id="tspan1599"
+         x="11.984955"
+         y="280.11969">register</tspan><tspan
+         sodipodi:role="line"
+         id="tspan1601"
+         x="11.984955"
+         y="285.41135">numbers</tspan></text>
+    <rect
+       style="fill:#00ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8"
+       width="2.6458352"
+       height="1.3222274"
+       x="42.333336"
+       y="271.86459" />
+    <rect
+       style="fill:#d00000;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-5"
+       width="2.6458352"
+       height="1.3222274"
+       x="42.333336"
+       y="267.89584" />
+    <rect
+       style="fill:#00ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-2"
+       width="2.6458352"
+       height="1.3222274"
+       x="46.30209"
+       y="271.86459" />
+    <rect
+       style="fill:#d00000;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-6"
+       width="2.6458352"
+       height="1.3222274"
+       x="46.30209"
+       y="267.89584" />
+    <rect
+       style="fill:#d00000;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-58"
+       width="2.6458352"
+       height="1.3222274"
+       x="50.27084"
+       y="267.89584" />
+    <rect
+       style="fill:#00ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-7"
+       width="2.6458352"
+       height="1.3222274"
+       x="50.27084"
+       y="271.86459" />
+    <rect
+       style="fill:#00ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-9"
+       width="2.6458352"
+       height="1.3222274"
+       x="54.23959"
+       y="271.86459" />
+    <rect
+       style="fill:#d00000;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-60"
+       width="2.6458352"
+       height="1.3222274"
+       x="54.23959"
+       y="267.89584" />
+    <rect
+       style="fill:#d00000;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-4"
+       width="2.6458352"
+       height="1.3222274"
+       x="58.20834"
+       y="267.89584" />
+    <rect
+       style="fill:#00ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-1"
+       width="2.6458352"
+       height="1.3222274"
+       x="58.20834"
+       y="271.86459" />
+    <rect
+       style="fill:#d0ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-0"
+       width="2.6458352"
+       height="1.3222274"
+       x="42.333336"
+       y="263.92706" />
+    <rect
+       style="fill:#d0ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-48"
+       width="2.6458352"
+       height="1.3222274"
+       x="46.30209"
+       y="263.92706" />
+    <rect
+       style="fill:#d0ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-70"
+       width="2.6458352"
+       height="1.3222274"
+       x="50.27084"
+       y="263.92706" />
+    <rect
+       style="fill:#d0ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-8"
+       width="2.6458352"
+       height="1.3222274"
+       x="54.23959"
+       y="263.92706" />
+    <rect
+       style="fill:#d0ca00;fill-opacity:1;stroke:none;stroke-width:0.09489302;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect1119-91-8-62"
+       width="2.6458352"
+       height="1.3222274"
+       x="58.20834"
+       y="263.92706" />
+    <g
+       id="g2711-4"
+       transform="translate(4.1666667e-6,216.95834)">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1021-7"
+         d="m 47.095833,53.583333 c 1.058334,0 1.058334,0 1.058334,0"
+         style="fill:none;stroke:#000000;stroke-width:0.16725789;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path1023-9"
+         d="m 47.625,53.054167 c 0,1.058333 0,1.058333 0,1.058333"
+         style="fill:none;stroke:#000000;stroke-width:0.16733716px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <g
+       id="g2711-3"
+       transform="translate(3.9687541,216.95834)">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1021-9"
+         d="m 47.095833,53.583333 c 1.058334,0 1.058334,0 1.058334,0"
+         style="fill:none;stroke:#000000;stroke-width:0.16725789;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path1023-2"
+         d="m 47.625,53.054167 c 0,1.058333 0,1.058333 0,1.058333"
+         style="fill:none;stroke:#000000;stroke-width:0.16733716px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <g
+       id="g2711-8"
+       transform="translate(7.9375041,216.95834)">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1021-3"
+         d="m 47.095833,53.583333 c 1.058334,0 1.058334,0 1.058334,0"
+         style="fill:none;stroke:#000000;stroke-width:0.16725789;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path1023-0"
+         d="m 47.625,53.054167 c 0,1.058333 0,1.058333 0,1.058333"
+         style="fill:none;stroke:#000000;stroke-width:0.16733716px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <g
+       id="g2711-1"
+       transform="translate(11.906255,216.95834)">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1021-78"
+         d="m 47.095833,53.583333 c 1.058334,0 1.058334,0 1.058334,0"
+         style="fill:none;stroke:#000000;stroke-width:0.16725789;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path1023-91"
+         d="m 47.625,53.054167 c 0,1.058333 0,1.058333 0,1.058333"
+         style="fill:none;stroke:#000000;stroke-width:0.16733716px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.16700001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Send-5)"
+       d="m 47.625005,267.36668 c 0,-1.32292 0,-1.32292 0,-1.32292"
+       id="path1029-4"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.16700001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Send-99)"
+       d="m 51.593755,267.36668 c 0,-1.32292 0,-1.32292 0,-1.32292"
+       id="path1029-9"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.16700001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Send-35)"
+       d="m 55.562505,267.36668 c 0,-1.32292 0,-1.32292 0,-1.32292"
+       id="path1029-8"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.16700001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Send-19)"
+       d="m 59.531255,267.36668 c 0,-1.32292 0,-1.32292 0,-1.32292"
+       id="path1029-7"
+       inkscape:connector-curvature="0" />
+  </g>
+</svg>
diff --git a/svp64-primer/img/simd_axb.png b/svp64-primer/img/simd_axb.png
new file mode 100644 (file)
index 0000000..52d32a4
Binary files /dev/null and b/svp64-primer/img/simd_axb.png differ
diff --git a/svp64-primer/img/simd_axb.svg b/svp64-primer/img/simd_axb.svg
new file mode 100644 (file)
index 0000000..9768e03
--- /dev/null
@@ -0,0 +1,352 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="70mm"
+   height="26.5mm"
+   viewBox="0 0 70 26.5"
+   version="1.1"
+   id="svg5306"
+   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
+   sodipodi:docname="simd_axb.svg"
+   inkscape:export-filename="/home/rohdo/work/libreriscv/svp64-primer/img/simd_axb.png"
+   inkscape:export-xdpi="300.08286"
+   inkscape:export-ydpi="300.08286">
+  <defs
+     id="defs5300">
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-19"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-9"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-35"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-70"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-99"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-45"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send-5"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path1046-7"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Send"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         id="path1046"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
+         transform="matrix(-0.2,0,0,-0.2,-1.2,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.4"
+     inkscape:cx="93.325745"
+     inkscape:cy="90.57421"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:window-width="1138"
+     inkscape:window-height="1048"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0">
+    <inkscape:grid
+       type="xygrid"
+       id="grid6283" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata5303">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="bg"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-270.5)">
+    <rect
+       style="opacity:0.93000034;fill:#00ca00;fill-opacity:1;stroke:#000000;stroke-width:0.465;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect6317-1"
+       width="58.208321"
+       height="5.2916665"
+       x="3.96875"
+       y="273.1875" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 18.520833,273.18748 v 5.29167"
+       id="path6367"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 33.072911,273.18748 v 5.29167"
+       id="path6367-9"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 47.625001,273.18748 v 5.29167"
+       id="path6367-7"
+       inkscape:connector-curvature="0" />
+    <rect
+       style="opacity:0.93000034;fill:#d00000;fill-opacity:1;stroke:#000000;stroke-width:0.465;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect6317-1-1"
+       width="58.208321"
+       height="5.2916665"
+       x="3.96875"
+       y="281.125" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 18.520832,281.12498 v 5.29167"
+       id="path6367-2"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 33.072911,281.12498 v 5.29167"
+       id="path6367-9-0"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 47.624991,281.12498 v 5.29167"
+       id="path6367-7-6"
+       inkscape:connector-curvature="0" />
+    <rect
+       style="opacity:0.93000034;fill:#d0ca00;fill-opacity:1;stroke:#000000;stroke-width:0.465;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+       id="rect6317-1-4"
+       width="58.208321"
+       height="5.2916665"
+       x="3.96875"
+       y="289.0625" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 18.520836,289.06248 v 5.29167"
+       id="path6367-92"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 33.072911,289.06248 v 5.29167"
+       id="path6367-9-4"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.465;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 47.625001,289.06248 v 5.29167"
+       id="path6367-7-4"
+       inkscape:connector-curvature="0" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000116;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="22.747496"
+       y="277.24945"
+       id="text821-9-79"><tspan
+         sodipodi:role="line"
+         id="tspan6471"
+         x="22.747496"
+         y="277.24945">A2</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="37.299587"
+       y="277.18997"
+       id="text821-9-795"><tspan
+         sodipodi:role="line"
+         id="tspan6481"
+         x="37.299587"
+         y="277.18997">A3</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="51.851665"
+       y="277.24945"
+       id="text821-9-29"><tspan
+         sodipodi:role="line"
+         id="tspan6491"
+         x="51.851665"
+         y="277.24945">A4</tspan></text>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.22913599px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 64.029161,287.73957 c 3.96876,0 3.96876,0 3.96876,0"
+       id="path6595"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.22913599px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 64.029161,289.06248 h 3.96876"
+       id="path6597"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 64.822911,278.47915 c 2.64584,2.64583 2.64584,2.64583 2.64584,2.64583"
+       id="path6599"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 67.468751,278.47915 -2.64584,2.64583"
+       id="path6601"
+       inkscape:connector-curvature="0" />
+  </g>
+  <g
+     inkscape:groupmode="layer"
+     id="layer2"
+     inkscape:label="text"
+     transform="translate(0,-270.5)">
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="8.1954117"
+       y="277.24945"
+       id="text821-9"><tspan
+         sodipodi:role="line"
+         id="tspan6285"
+         x="8.1954117"
+         y="277.24945">A1</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="8.1954117"
+       y="285.18695"
+       id="text821-9-1"><tspan
+         sodipodi:role="line"
+         id="tspan6451"
+         x="8.1954117"
+         y="285.18695">B1</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="4.4870453"
+       y="293.19125"
+       id="text821-9-8"><tspan
+         sodipodi:role="line"
+         id="tspan6442"
+         x="4.4870453"
+         y="293.19125">A1xB1</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000108;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="22.747496"
+       y="285.18695"
+       id="text821-9-1-0"><tspan
+         sodipodi:role="line"
+         id="tspan6511"
+         x="22.747496"
+         y="285.18695">B2</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000108;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="37.299587"
+       y="285.18695"
+       id="text821-9-1-0-2"><tspan
+         sodipodi:role="line"
+         id="tspan6539"
+         x="37.299587"
+         y="285.18695">B3</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000108;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="51.851665"
+       y="285.18695"
+       id="text821-9-1-0-9"><tspan
+         sodipodi:role="line"
+         id="tspan6541"
+         x="51.851665"
+         y="285.18695">B4</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="19.039129"
+       y="293.19125"
+       id="text821-9-8-3"><tspan
+         sodipodi:role="line"
+         id="tspan6577"
+         x="19.039129"
+         y="293.19125">A2xB2</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="33.591213"
+       y="293.13098"
+       id="text821-9-8-5"><tspan
+         sodipodi:role="line"
+         id="tspan6579"
+         x="33.591213"
+         y="293.13098">A3xB3</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+       x="48.129864"
+       y="293.19092"
+       id="text821-9-8-7"><tspan
+         sodipodi:role="line"
+         id="tspan6581"
+         x="48.129864"
+         y="293.19092">A4xB4</tspan></text>
+  </g>
+</svg>
index 358afb8878619597f79fdda7d8c49a853552e1d4..605cefac0b1982e254e9528b47202dd235885957 100644 (file)
Binary files a/svp64-primer/img/svp64_regs.png and b/svp64-primer/img/svp64_regs.png differ
index 8858c183252148bee4d8e6f2fda5dd7e634239d5..1f18d7f2a62b69bb6d3451a5c394fb08d6e34c28 100644 (file)
    viewBox="0 0 210 200"
    version="1.1"
    id="svg8"
-   inkscape:version="0.92.3 (2405546, 2018-03-11)"
+   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
    sodipodi:docname="svp64_regs.svg"
    inkscape:export-filename="/home/rohdo/work/libreriscv/svp64-primer/img/svp64_regs.png"
-   inkscape:export-xdpi="96"
-   inkscape:export-ydpi="96">
+   inkscape:export-xdpi="150"
+   inkscape:export-ydpi="150">
   <defs
      id="defs2">
     <marker
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="0.7"
-     inkscape:cx="526.2541"
-     inkscape:cy="429.47489"
+     inkscape:cx="271.97281"
+     inkscape:cy="527.96849"
      inkscape:document-units="mm"
      inkscape:current-layer="layer1"
      showgrid="true"
      inkscape:window-width="1285"
      inkscape:window-height="1048"
-     inkscape:window-x="801"
-     inkscape:window-y="201"
+     inkscape:window-x="629"
+     inkscape:window-y="0"
      inkscape:window-maximized="0">
     <inkscape:grid
        type="xygrid"
          id="tspan12140"
          x="6.2704644"
          y="282.55978">from 32 to 128</tspan></text>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.46500006;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.46500003, 1.39500006;stroke-dashoffset:0;stroke-opacity:1"
+       d="m 77.211494,226.09195 c 0,10.58337 0,10.58337 0,10.58337"
+       id="path4324-0"
+       inkscape:connector-curvature="0" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.46500006;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.46500003, 1.39500006;stroke-dashoffset:0;stroke-opacity:1"
+       d="m 77.211494,262.86906 c 0,10.58337 0,10.58337 0,10.58337"
+       id="path4324-06"
+       inkscape:connector-curvature="0" />
   </g>
   <g
      inkscape:groupmode="layer"
index 17e671f94f4d2c1585acf59868a7766696237e13..4d55a301613e2d2b72cee4031951d57afd196cb9 100644 (file)
@@ -64,7 +64,7 @@ includes the data width and the operation to perform.
 
 \begin{figure}[hb]
     \centering
-       \includegraphics[width=0.6\linewidth]{simd_axb}
+       \includegraphics[width=0.6\linewidth]{simd_axb.png}
        \caption{SIMD multiplication}
        \label{fig:simd_axb}
 \end{figure}
@@ -129,9 +129,9 @@ The Cray-1 had 8 Vector Registers with up to 64 elements (64-bit each).
 An early Draft of RVV supported overlaying the Vector Registers onto the
 Floating Point registers, similar to \acs{MMX}.
 
-\begin{figure}[hb]
+\begin{figure}[ht]
     \centering
-       \includegraphics[width=0.6\linewidth]{cray_vector_regs}
+       \includegraphics[width=0.6\linewidth]{cray_vector_regs.png}
        \caption{Cray Vector registers: 8 registers, 64 elements each}
        \label{fig:cray_vector_regs}
 \end{figure}
@@ -143,7 +143,7 @@ reason why Simple-V can be added on top of an existing Scalar ISA, and
 \textit{in particular} why there is no need to add Vector Registers or
 Vector instructions.
 
-\begin{figure}[hb]
+\begin{figure}[ht]
     \centering
        \includegraphics[width=0.6\linewidth]{svp64_regs.png}
        \caption{three instructions, same vector length, different element widths}