Next: Atomic Memory Access Instructions, Previous: Constant Instructions, Up: Instruction Set [Contents][Index]
In these instructions, the /immediate
variants represent their
indexes or counts as immediates; otherwise these values are unboxed u64
locals.
Allocate a fresh GC-traced object consisting of count words and store it into dst.
Load the SCM
object at word offset idx from local
obj, and store it to dst.
Store the scm
local val into object obj at word
offset idx.
Load the first word of obj, subtract the immediate tag, and store the
resulting SCM
to dst.
Set the first word of obj to the unpacked bits of the scm
value val plus the immediate value tag.
Load the word at offset idx from local obj, and store it to
the u64
local dst.
Store the u64
local val into object obj at word
offset idx.
Load the pointer at offset idx from local obj, and store it to the unboxed pointer local dst.
Store the unboxed pointer local val into object obj at word offset idx.
Compute the address of word offset idx from local obj, and store it to dst.
Next: Atomic Memory Access Instructions, Previous: Constant Instructions, Up: Instruction Set [Contents][Index]