From: lkcl Date: Tue, 26 Jan 2021 14:31:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~299 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fec2f35378fc14f6932bd91c55081263e3394ac1;p=libreriscv.git --- 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