Handbook
Glossary
sub-imm>add-imm ( insn -- insn' )
Vocabulary
compiler
.
cfg
.
gvn
.
math
Inputs
insn
an
object
Outputs
insn'
an
object
Definition
USING:
accessors
compiler.cfg.instructions
cpu.architecture
kernel
math
;
IN:
compiler.cfg.gvn.math
:
sub-imm>add-imm
( insn -- insn' )
[
dst>>
]
[
src1>>
]
[
src2>>
neg
]
tri
dup
immediate-arithmetic?
##add-imm
?new-insn
;