projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
126f482
)
(no commit message)
author
lkcl
<lkcl@web>
Wed, 9 Oct 2019 18:34:22 +0000
(19:34 +0100)
committer
IkiWiki
<ikiwiki.info>
Wed, 9 Oct 2019 18:34:22 +0000
(19:34 +0100)
simple_v_extension/specification/mv.x.rst
patch
|
blob
|
history
diff --git
a/simple_v_extension/specification/mv.x.rst
b/simple_v_extension/specification/mv.x.rst
index 5976f7586850637bda61332e3820dcb0f49b0455..4ff6dba0f96b7b30b8cc9fdece70ba0c82a4e2b8 100644
(file)
--- a/
simple_v_extension/specification/mv.x.rst
+++ b/
simple_v_extension/specification/mv.x.rst
@@
-243,10
+243,9
@@
note how for [f]swizzle, rs3 == rs1
so it uses 5 funct3 values overall, which is appropriate, since swizzle is probably right after muladd in usage in graphics shaders.
so it uses 5 funct3 values overall, which is appropriate, since swizzle is probably right after muladd in usage in graphics shaders.
-Alternative
+Alternative
immed encoding
-
-+--------+----+-----------+----------+-------+-------+------+
++--------+-----------+----------+-------+-------+------+
| int/fp | 31:28 | 27:20 | 19:15 | 14:12 | 11:7 |
+========+===========+==========+=======+=======+======+
| int | DESTMASK | selector | rs | 000 | rd |
| int/fp | 31:28 | 27:20 | 19:15 | 14:12 | 11:7 |
+========+===========+==========+=======+=======+======+
| int | DESTMASK | selector | rs | 000 | rd |
@@
-258,6
+257,9
@@
Alternative
| fp | DESTMASK | constsel | rs | 011 | rd |
+--------+-----------+----------+-------+-------+------+
| fp | DESTMASK | constsel | rs | 011 | rd |
+--------+-----------+----------+-------+-------+------+
+Allows setting of arbitrary dest (xz, yw) without needing register-versions. Saves on instruction count.
+Needs 4 funct3 to express.
+
Matrix 4x4 Vector mul
=====================
Matrix 4x4 Vector mul
=====================