Handbook
Glossary
(encode-bitmask) ( imm imm-size -- (N)immrimms )
Vocabulary
cpu
.
arm
.
64
.
assembler
.
private
Inputs
imm
an
object
imm-size
an
object
Outputs
(N)immrimms
an
object
Definition
USING:
kernel
math.bitwise
;
IN:
cpu.arm.64.assembler.private
:
(encode-bitmask)
( imm imm-size -- (N)immrimms )
[
bits
]
[
?bitmask
]
[
element-size
]
tri
[
?element
]
keep
[
>Nimms
]
[
>immr
]
2bi
{
12 0 6
}
bitfield*
;