From 62de99aeab591794a63f61bbf34c6ca0bc44ab00 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 8 Jan 2024 10:57:14 +0000 Subject: [PATCH] whitespace --- openpower/sv/cookbook/pospopcnt.mdwn | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openpower/sv/cookbook/pospopcnt.mdwn b/openpower/sv/cookbook/pospopcnt.mdwn index 9de6b5fea..711a75da0 100644 --- a/openpower/sv/cookbook/pospopcnt.mdwn +++ b/openpower/sv/cookbook/pospopcnt.mdwn @@ -38,9 +38,8 @@ A simple but still hardware-paralleliseable SVP64 assembler for 8-bit input values (`count8safe`) is as follows: ``` -mtspr 9, 3 # move r3 to CTR -# VL = MIN(CTR,MAXVL=8), Rc=1 (CR0 set if CTR ends) -setvl 3,0,8,0,1,1 # set MVL=8, VL=MIN(MVL,CTR) +mtspr 9, 3 # move r3 to CTR +setvl 3,0,8,0,1,1 # set MVL=8, VL=r3=MIN(MVL,CTR) # load VL bytes (update r4 addr) but compressed (dw=8) addi 6, 0, 0 # initialise all 64-bits of r6 to zero sv.lbzu/pi/dw=8 *6, 1(4) # should be /lf here as well -- 2.30.2