From: lkcl Date: Sat, 1 Apr 2023 17:59:11 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls012_v1~194 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9c4116e4b8f2e323323d8c8022b2a9451f929ce;p=libreriscv.git --- diff --git a/openpower/sv/rfc/ls010.mdwn b/openpower/sv/rfc/ls010.mdwn index 9108f243a..148bbf6f2 100644 --- a/openpower/sv/rfc/ls010.mdwn +++ b/openpower/sv/rfc/ls010.mdwn @@ -253,7 +253,7 @@ the numerically-lowest element at the **MSB** end of the register. void set_VSR_element(el_reg_t* el, int gpr, int elt, int width) { check_num_elements(elt, width); switch (width) { - case 64: VSR_regfile[gpr].dwords[elt] = el->dwords[0]; + case 64: VSR_regfile[gpr].dwords[1-elt] = el->dwords[0]; case 32: VSR_regfile[gpr].words[3-elt] = el->words[0]; case 16: VSR_regfile[gpr].hwords[7-elt] = el->hwords[0]; case 8 : VSR_regfile[gpr].bytes[15-elt] = el->bytes[0]; @@ -261,7 +261,7 @@ the numerically-lowest element at the **MSB** end of the register. } ``` -For VSX Registers one key difference is that the overlay of different element +For VSR Registers one key difference is that the overlay of different element widths is clearly a *bounded static quantity*, whereas for Simple-V the elements are unrestrained and permitted to flow into *successive underlying Scalar registers*.