projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3f622
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 26 Dec 2020 03:15:23 +0000
(
03:15
+0000)
committer
IkiWiki
<ikiwiki.info>
Sat, 26 Dec 2020 03:15:23 +0000
(
03:15
+0000)
openpower/sv/overview.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/overview.mdwn
b/openpower/sv/overview.mdwn
index a0901875dc0b1004aad93c25672c483233ef2fac..d92a3722712449ad0b30f4ccaf9fb9b8869022da 100644
(file)
--- a/
openpower/sv/overview.mdwn
+++ b/
openpower/sv/overview.mdwn
@@
-414,8
+414,8
@@
the operation degenerates *to* VCOMPRESS or VEXPAND, respectively.
if (RS.isvec) while (!(ps & 1<<i)) i++;
if (RT.isvec) while (!(pd & 1<<j)) j++;
reg[RT+j] = SCALAR_OPERATION_ON(reg[RS+i])
- if (
int_csr[RS]
.isvec) i++;
- if (
int_csr[RT]
.isvec) j++; else break
+ if (
RS
.isvec) i++;
+ if (
RT
.isvec) j++; else break
Here's the interesting part: given the fact that SV is a "context"
extension, the above pattern can be applied to a lot more than just MV,