From: lkcl Date: Fri, 19 May 2023 16:57:14 +0000 (+0100) Subject: (no commit message) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5b2f2ae5eafb72b41f48c97c70aa1910e03ccce;p=libreriscv.git --- diff --git a/openpower/sv/rfc/ls009.mdwn b/openpower/sv/rfc/ls009.mdwn index 60dd70c9f..55ca413cb 100644 --- a/openpower/sv/rfc/ls009.mdwn +++ b/openpower/sv/rfc/ls009.mdwn @@ -106,17 +106,15 @@ from the arithmetic, and to allow the Indexing to be done as a hardware Schedule A normal Vector Add: ``` -  for i in range(VL): -    GPR[RT+i] <= GPR[RA+i] + - GPR[RB+i]; +  for i in range(VL): +  GPR[RT+i] <= GPR[RA+i] + GPR[RB+i]; ``` A Hardware-assisted REMAP Vector Add: ``` -  for i in range(VL): -    GPR[RT+remap1(i)] <= GPR[RA+remap2(i)] + - GPR[RB+remap3(i)]; + for i in range(VL): + GPR[RT+remap1(i)] <= GPR[RA+remap2(i)] + GPR[RB+remap3(i)]; ``` The result is a huge saving on register file accesses (no need to calculate Indices