Handbook
Glossary
>test-branch ( insn -- insn' )
Vocabulary
compiler
.
cfg
.
value-numbering
.
comparisons
Inputs
insn
an
insn
Outputs
insn'
a
##test-branch
Word description
Converts a
##compare-integer-imm-branch
instruction into a
##test-branch
instruction.
Definition
USING:
accessors
compiler.cfg.instructions
kernel
;
IN:
compiler.cfg.value-numbering.comparisons
:
>test-branch
( insn -- insn' )
[
src1>>
]
[
src1>>
]
[
cc>>
]
tri
##test-branch
new-insn
;