Handbook
Glossary
encode-width* ( reg -- opc VR )
Vocabulary
cpu
.
arm
.
64
.
assembler
Inputs
reg
an
object
Outputs
opc
an
object
VR
an
object
Definition
IN:
cpu.arm.64.assembler
GENERIC:
encode-width*
( reg -- opc VR )
Methods
USING:
accessors
combinators
cpu.arm.64.assembler
;
M:
fp-register
encode-width*
width>>
{
{
32
[
0 1
]
}
{
64
[
1 1
]
}
{
128
[
2 1
]
}
[
register-width-error
]
}
case
;
USING:
accessors
combinators
cpu.arm.64.assembler
;
M:
general-register
encode-width*
width>>
{
{
32
[
0 0
]
}
{
64
[
2 0
]
}
[
register-width-error
]
}
case
;
USING:
cpu.arm.64.assembler
kernel
;
M:
vector-register
encode-width*
drop
1 1
;