From d5b2f2ae5eafb72b41f48c97c70aa1910e03ccce Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 19 May 2023 17:57:14 +0100 Subject: [PATCH] --- openpower/sv/rfc/ls009.mdwn | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 -- 2.30.2