From: lkcl Date: Sun, 30 Jun 2019 08:28:46 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~4327 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd6a14fd736714da242adac89d0e3de242994260;p=libreriscv.git --- diff --git a/simple_v_extension/specification/sv.setvl.mdwn b/simple_v_extension/specification/sv.setvl.mdwn index 8ad496b25..359d3e454 100644 --- a/simple_v_extension/specification/sv.setvl.mdwn +++ b/simple_v_extension/specification/sv.setvl.mdwn @@ -112,6 +112,18 @@ It leaves space for future expansion to RV128 and/or multi-register predicates. regs[rd] = vl } +# questions + + + +GETVL add1 SETVL is a pain. 3 operations because VL is a CSR it is not possible to perform arithmetic on it. + +What about actually marking one of the registers *as* VL? + +---- + +Setting VL from an immed without altering MVL is not possible in the above pseudocode. It is covered by VLtyp and the VL block in VBLOCK, however is that enough? + # links *