From 264ff061004aa5d94c4abc22322f911b87fb2d69 Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 18 May 2023 15:58:02 +0100 Subject: [PATCH] --- simple_v_extension/daxpy_example.mdwn | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/simple_v_extension/daxpy_example.mdwn b/simple_v_extension/daxpy_example.mdwn index 3eed4c98a..783e5c986 100644 --- a/simple_v_extension/daxpy_example.mdwn +++ b/simple_v_extension/daxpy_example.mdwn @@ -12,10 +12,7 @@ Summary: 9 instructions (see below, 8 instructions) 5 of which are 64-bit for a total of 14 "words". ``` - # r5: n count - # r6: x ptr - # r7: y ptr - # fp1: a mul-scalar + # r5: n count; r6: x ptr; r7: y ptr; fp1: a 1 mtctr 5 # move n to CTR 2 addi r10,r6,0 # copy y-ptr into r10 (y') 3 .L2 @@ -33,10 +30,7 @@ Relies on post-increment, relies on no overlap between x and y in memory, and critically relies on y overwrite. ``` - # r5: n count - # r6: x ptr - # r7: y ptr - # fp1: a mul-scalar + # r5: n count; r6: x ptr; r7: y ptr; fp1: a 1 mtctr 5 # move n to CTR 2 .L2 3 setvl MAXVL=32,VL=CTR # actually VL=MIN(MAXVL,CTR) -- 2.30.2