Handbook
Glossary
mul-to-shl ( insn -- insn' )
Vocabulary
compiler
.
cfg
.
gvn
.
math
Inputs
insn
an
object
Outputs
insn'
an
object
Definition
USING:
accessors
compiler.cfg.instructions
kernel
math
;
IN:
compiler.cfg.gvn.math
:
mul-to-shl
( insn -- insn' )
[
[
dst>>
]
[
src1>>
]
bi
]
[
src2>>
log2
]
bi
##shl-imm
new-insn
;