projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fcf443
)
(no commit message)
author
lkcl
<lkcl@web>
Mon, 1 Jul 2019 08:55:10 +0000
(09:55 +0100)
committer
IkiWiki
<ikiwiki.info>
Mon, 1 Jul 2019 08:55:10 +0000
(09:55 +0100)
simple_v_extension/appendix.mdwn
patch
|
blob
|
history
diff --git
a/simple_v_extension/appendix.mdwn
b/simple_v_extension/appendix.mdwn
index 14b36a1ebd28eb8763a01b83be137745a081fbcd..3364b88918d1c4c03be62f9bb8c43f286a968a9d 100644
(file)
--- 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