From e9c4116e4b8f2e323323d8c8022b2a9451f929ce Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 1 Apr 2023 18:59:11 +0100 Subject: [PATCH] --- openpower/sv/rfc/ls010.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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*. -- 2.30.2