From: lkcl Date: Mon, 1 Jul 2019 08:55:10 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~4310 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=434abbab56c0fbe2a62850e96d5f120056bb9077;hp=6fcf44336972904be3a9d2f70e8e7c8c7320a441;p=libreriscv.git --- diff --git a/simple_v_extension/appendix.mdwn b/simple_v_extension/appendix.mdwn index 14b36a1eb..3364b8891 100644 --- a/simple_v_extension/appendix.mdwn +++ b/simple_v_extension/appendix.mdwn @@ -1544,13 +1544,12 @@ SV version (WIP): strncpy: mv a3, a0 - SETMVLI 8 # set max vector to 8 RegCSR[a3] = 8bit, a3, scalar RegCSR[a1] = 8bit, a1, scalar RegCSR[t0] = 8bit, t0, vector PredTb[t0] = ffirst, x0, inv loop: - SETVLI a2, t4 # t4 and VL now 1..8 + SETVLI a2, t4, 8 # t4 and VL now 1..8 (MVL=8) ldb t0, (a1) # t0 fail first mode bne t0, x0, allnonzero # still ff # VL points to last nonzero