(no commit message)
authorlkcl <lkcl@web>
Tue, 3 May 2022 08:24:24 +0000 (09:24 +0100)
committerIkiWiki <ikiwiki.info>
Tue, 3 May 2022 08:24:24 +0000 (09:24 +0100)
openpower/sv/svp64/appendix.mdwn

index 1faad4e0d48544a4cf3d6f41cb62a1e3f18ce659..f4bbfcc99b2b35dd3bcc5ed7bb4a2c3000d98a97 100644 (file)
@@ -1137,6 +1137,14 @@ start from half-way into r3. The reason is that with MAXVL bring
 5 and elwidth being 32, this is the 5th element
 offset (in 32 bit quantities) counting from r1.
 
+*Programmer's note: accessing registers that have been placed 
+starting on a non-contiguous boundary (half-way along a scalar
+register) can be inconvenient: REMAP can provide an offset but
+it requires extra instructions to set up.  A simple solution
+is to ensure that MAXVL is rounded up such that the Vector
+ends cleanly on a contiguous register boundary.  MAXVL=6 in
+the above example would achieve that*
+
 Additional DRAFT Scalar instructions in 3-in 2-out form
 with an implicit 2nd destination: