Handbook
Glossary
inert-arithmetic-tag-untag-insn
Vocabulary
compiler
.
cfg
.
representations
.
selection
Definition
USING:
compiler.cfg.instructions
;
IN:
compiler.cfg.representations.selection
UNION:
inert-arithmetic-tag-untag-insn
##add-imm
##sub-imm
;
Methods
USING:
combinators
combinators.short-circuit
compiler.cfg.representations.peephole
compiler.cfg.representations.selection
generic
kernel
;
M:
inert-arithmetic-tag-untag-insn
optimize-insn
{
{
[
dup
{
[
dst-tagged?
]
[
src1-tagged?
]
[
src2-tagged-arithmetic?
]
}
1&&
]
[
>tagged-imm
]
}
[
M\
inert-arithmetic-tag-untag-insn
optimize-insn
(call-next-method)
]
}
cond
;