Handbook
Glossary
(vmatmul2x8+) ( a b accumulator -- result )
Vocabulary
math
.
vectors
.
simd
.
extensions
Inputs
a
an
object
b
an
object
accumulator
an
object
Outputs
result
an
object
Definition
USING:
system
;
IN:
math.vectors.simd.extensions
HOOK:
(vmatmul2x8+)
cpu
( a b accumulator -- result )
Methods
USING:
kernel
math
math.vectors.simd.extensions
sequences
;
M::
object
(vmatmul2x8+)
( a b accumulator -- result )
4
<iota>
[|
lane |
lane accumulator
nth
8
<iota>
swap
[|
value j |
lane 2
/i
8
*
j
+
a
nth
lane 2
mod
8
*
j
+
b
nth
*
value
+
]
reduce
]
accumulator
map-as
;