From b51bd7981900ee8d9d5e00be3d0b43cec34b2e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Wed, 9 Mar 2016 08:52:48 +0100 Subject: [PATCH] compiler.cfg.*: new doc files --- .../cfg/comparisons/comparisons-docs.factor | 14 ++++++++++++++ .../cfg/intrinsics/alien/alien-docs.factor | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 basis/compiler/cfg/comparisons/comparisons-docs.factor create mode 100644 basis/compiler/cfg/intrinsics/alien/alien-docs.factor diff --git a/basis/compiler/cfg/comparisons/comparisons-docs.factor b/basis/compiler/cfg/comparisons/comparisons-docs.factor new file mode 100644 index 0000000000..3a94c1261c --- /dev/null +++ b/basis/compiler/cfg/comparisons/comparisons-docs.factor @@ -0,0 +1,14 @@ +USING: help.markup help.syntax ; +IN: compiler.cfg.comparisons + +HELP: cc/o +{ $description "Not overflow condition." } ; + +ARTICLE: "compiler.cfg.comparisons" "Comparison conditions" +"Specific comparison conditions:" +{ $subsections + cc/o + cc-o +} ; + +ABOUT: "compiler.cfg.comparisons" diff --git a/basis/compiler/cfg/intrinsics/alien/alien-docs.factor b/basis/compiler/cfg/intrinsics/alien/alien-docs.factor new file mode 100644 index 0000000000..72dd90da53 --- /dev/null +++ b/basis/compiler/cfg/intrinsics/alien/alien-docs.factor @@ -0,0 +1,12 @@ +USING: compiler.cfg compiler.tree help.markup help.syntax quotations ; +IN: compiler.cfg.intrinsics.alien + +HELP: inline-accessor +{ $values + { "block" basic-block } + { "#call" #call } + { "quot" quotation } + { "test" quotation } + { "block'" basic-block } +} +{ $description "Combinator used to simplify writing intrinsic emitting code. If the 'test' quotation yields " { $link t } " when called on the '#call' nodes inputs, then the 'quot' quotation is used to emit intrinsic instructions. Otherwise a primitive call is emitted. " } ;