Handbook
Glossary
pack-bfloat ( lo hi -- result )
Vocabulary
math
.
vectors
.
simd
.
extensions
Inputs
lo
an
object
hi
an
object
Outputs
result
an
object
Definition
USING:
system
;
IN:
math.vectors.simd.extensions
HOOK:
pack-bfloat
cpu
( lo hi -- result )
Methods
USING:
cpu.arm.64.features
generic
kernel
math.vectors.simd
math.vectors.simd.extensions
math.vectors.simd.extensions.arm.64.private
system
;
M::
arm.64
pack-bfloat
( lo hi -- result )
"bf16"
arm64-feature?
lo
float-4?
and
hi
float-4?
and
[
lo hi
bpack
]
[
lo hi
M\
arm.64
pack-bfloat
(call-next-method)
]
if
;
USING:
arrays
kernel
math.vectors.simd
math.vectors.simd.extensions
sequences
;
M:
object
pack-bfloat
[
>array
]
bi@
append
>bfloat-8
;