From: Andrey Miroshnikov Date: Mon, 27 Jun 2022 11:51:03 +0000 (+0100) Subject: Made svp64 rep svg, needed to also export to png to work with latex doc X-Git-Tag: opf_rfc_ls005_v1~1494 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc33c33dc205e6a54039c8480982cb857cac95fb;p=libreriscv.git Made svp64 rep svg, needed to also export to png to work with latex doc --- diff --git a/svp64-primer/img/svp64_regs.png b/svp64-primer/img/svp64_regs.png new file mode 100644 index 000000000..d1cb12733 Binary files /dev/null and b/svp64-primer/img/svp64_regs.png differ diff --git a/svp64-primer/img/svp64_regs.svg b/svp64-primer/img/svp64_regs.svg new file mode 100644 index 000000000..8a6c283b5 --- /dev/null +++ b/svp64-primer/img/svp64_regs.svg @@ -0,0 +1,919 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + r0 + r1 + r2 + r3 + r4 + byte-level write-enable + + + + + + + + + + + + + + + + + + + + + + + + 64-bit wide + setvl 5 + sv.addi 0,0,1 + SV + + r40 + + + + + + + + + + + + + + + + + + + + + + + + r41 + r42 + sv.addi/ew=32 40,40,1 + + + + + + + + + + + + + + + + + + r80 + r81 + r127 + Vector length 564-bit elementspacked into scalarGPRs r0-r4 + Vector length 532-bit elementspacked into GPRsr40-r41and lower half of r42. Upper half ofr42 UNMODIFIED + Vector length 516-bit elementspacked into GPRs r80and lowest half-wordof r81. Remainderof r81 UNMODIFIED + sv.addi/ew=16 80,80,1 + GPR/FPR extendedfrom 32 to 128 + + + + + + + + + + + + + + diff --git a/svp64-primer/summary.tex b/svp64-primer/summary.tex index dbb27dbcf..cb1d46faf 100644 --- a/svp64-primer/summary.tex +++ b/svp64-primer/summary.tex @@ -145,7 +145,7 @@ Vector instructions. \begin{figure}[hb] \centering - \includegraphics[width=0.6\linewidth]{svp64_regs} + \includegraphics[width=0.6\linewidth]{svp64_regs.png} \caption{three instructions, same vector length, different element widths} \label{fig:svp64_regs} \end{figure}