From fec2f35378fc14f6932bd91c55081263e3394ac1 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 26 Jan 2021 14:31:37 +0000 Subject: [PATCH] --- openpower/sv/setvl.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openpower/sv/setvl.mdwn b/openpower/sv/setvl.mdwn index efb05e898..9bd062050 100644 --- a/openpower/sv/setvl.mdwn +++ b/openpower/sv/setvl.mdwn @@ -55,6 +55,10 @@ Note that setmvli is a pseudo-op, based on RA/RT=0, and setvli likewise setvli VL=8 : setvl r5, r0, VL=8 setmvli MVL=8 : setvl r0, r0, MVL=8 +Additional pseudo-op for obtaining VL without modifying it: + + getvl r5 : setvl r5, r0, vs=0, ms=0 + Note that whilst it is possible to set both MVL and VL from the same immediate, it is not possible to set them to different immediates in the same instruction. That would require two instructions. # Pseudocode -- 2.30.2