factor/basis/compiler/cfg/representations/representations-docs.factor

18 lines
1.0 KiB
Factor
Raw Normal View History

2016-11-13 21:20:50 -05:00
USING: compiler.cfg compiler.cfg.registers cpu.architecture
help.markup help.syntax ;
IN: compiler.cfg.representations
2016-11-13 21:20:50 -05:00
HELP: select-representations
{ $values { "cfg" cfg } }
{ $description "Entry point for the representation selection compiler pass. After this word hasn run, the " { $link representations } " hashtable has been filled with vregs and what their preferred representations are." } ;
2016-10-08 01:08:00 -04:00
ARTICLE: "compiler.cfg.representations" "Virtual register representation selection"
"Virtual register representation selection. This is where decisions about integer tagging and float and vector boxing are made. The appropriate conversion operations inserted after a cost analysis."
$nl
2016-11-13 21:20:50 -05:00
"Good representation selection is very important for Factor because it uses tagged pointers. If the best representations are selected, then the number of conversions between " { $link int-rep } " and " { $link tagged-rep } " is minimized."
$nl
"Entry point:"
{ $subsections select-representations } ;
ABOUT: "compiler.cfg.representations"