projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
811f1d6
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 5 Oct 2019 09:21:17 +0000
(10:21 +0100)
committer
IkiWiki
<ikiwiki.info>
Sat, 5 Oct 2019 09:21:17 +0000
(10:21 +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 b54730a03a2a82c1d899ff4e30bdaf35d786a629..e45b9642fbab3d58f70be1b8e4fd488be49d39d2 100644
(file)
--- a/
simple_v_extension/vector_ops.mdwn
+++ b/
simple_v_extension/vector_ops.mdwn
@@
-97,6
+97,15
@@
Pseudocode:
vec3 p = t3 * t4;
vec3 cross = t1 * t2 - p;
+Assembler:
+
+ fpermute,2130 F4, F1
+ fpermute,1320 F5, F1
+ fpermute,2130 F6, F2
+ fpermute,1320 F7, F2
+ fmul F8, F5, F6
+ fmulsub F3, F4, F7, F8
+
## Vector dot product
* SUBVL ignored on rd. SUBVL=2,3,4 vs1,vs2, if all vectors, multiple results generated. If rd scalar, only first (unpredicated) SUBVector is used.