projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3fad3e4
)
(no commit message)
author
lkcl
<lkcl@web>
Mon, 14 Oct 2019 14:58:45 +0000
(15:58 +0100)
committer
IkiWiki
<ikiwiki.info>
Mon, 14 Oct 2019 14:58:45 +0000
(15:58 +0100)
simple_v_extension/vector_ops.mdwn
patch
|
blob
|
history
diff --git
a/simple_v_extension/vector_ops.mdwn
b/simple_v_extension/vector_ops.mdwn
index 9ef2fb398dc94484a533185f1b159586aae8939c..1d1b9e23221cc5262b7080586efdd9b74c0fa3cd 100644
(file)
--- a/
simple_v_extension/vector_ops.mdwn
+++ b/
simple_v_extension/vector_ops.mdwn
@@
-63,6
+63,10
@@
Result is the cross product of x and y.
SUBVL must be set to 3, and all regs must be vectors. VL nonzero produces multiple results in vd.
SUBVL must be set to 3, and all regs must be vectors. VL nonzero produces multiple results in vd.
+| Instr | result | src1 | src2 | SUBVL | VL |
+| ------------------ | ------ | ---- | ---- | ----- | -- |
+| VCROSS vd, vs1, vs2 | vec3 | vec3 | vec3 | 3 | any |
+
The resulting components are, in order:
x[1] * y[2] - y[1] * x[2]
The resulting components are, in order:
x[1] * y[2] - y[1] * x[2]
@@
-93,7
+97,6
@@
Assembler:
## Vector dot product
## Vector dot product
-
* VDOT rd, vs1, vs2
Computes the dot product of two vectors. Internal accuracy must be
* VDOT rd, vs1, vs2
Computes the dot product of two vectors. Internal accuracy must be