Docs: for cpu.architecture words
parent
cf8de7cc1a
commit
93a609db38
|
@ -69,10 +69,14 @@ HELP: %call
|
|||
|
||||
HELP: %box-alien
|
||||
{ $values { "dst" "destination register" } { "src" "source register" } { "temp" "temporary register" } }
|
||||
{ $description "Emits machine code for boxing an alien value. Internally, this word will allocate five " { $link cells } " which wraps the alien." }
|
||||
{ $description "Emits machine code for boxing an alien value. If the alien is not a NULL pointer, then five " { $link cells } " will be allocated in the nursery space to wrap the object. See vm/layouts.hpp for details." }
|
||||
{ $examples { $unchecked-example $[ ex-%box-alien ] } }
|
||||
{ $see-also ##box-alien %allot } ;
|
||||
|
||||
HELP: %context
|
||||
{ $values { "dst" "a register symbol" } }
|
||||
{ $description "Emits machine code for putting a pointer to the context field of the " { $link vm } " in a register." } ;
|
||||
|
||||
HELP: %allot
|
||||
{ $values
|
||||
{ "dst" "destination register symbol" }
|
||||
|
@ -86,6 +90,10 @@ HELP: %allot
|
|||
{ $unchecked-example $[ ex-%allot ] }
|
||||
} ;
|
||||
|
||||
HELP: test-instruction?
|
||||
{ $values { "?" "a boolean" } }
|
||||
{ $description "Does the current architecture have a test instruction? Used on x86 to rewrite some " { $link CMP } " instructions to less expensive " { $link TEST } "s." } ;
|
||||
|
||||
HELP: fused-unboxing?
|
||||
{ $values { "?" boolean } }
|
||||
{ $description "Whether this architecture support " { $link %load-float } ", " { $link %load-double } ", and " { $link %load-vector } "." } ;
|
||||
|
|
Loading…
Reference in New Issue