Handbook
Glossary
##unbox-long-long
Basic block instructions
Prev:
##unbox-any-c-ptr
Next:
alien-call-insn
Vocabulary
compiler
.
cfg
.
instructions
Class description
Instruction that unboxes a 64-bit integer to two 32-bit registers. Only used on 32 bit architectures.
Definition
IN:
compiler.cfg.instructions
TUPLE:
##unbox-long-long
<
foldable-insn
dst1 dst2 src unboxer insn#
;
Methods
USING:
accessors
compiler.cfg.gvn.avail
compiler.cfg.instructions
kernel
;
M:
##unbox-long-long
>avail-insn-defs
[
]
change-dst1
[
]
change-dst2
drop
;
USING:
accessors
compiler.cfg.gvn.avail
compiler.cfg.instructions
kernel
;
M:
##unbox-long-long
>avail-insn-uses
[
dup
>avail-vreg
or*
]
change-src
drop
;
USING:
accessors
arrays
compiler.cfg.gvn.expressions
compiler.cfg.gvn.graph
compiler.cfg.instructions
kernel
sequences.private
;
M:
##unbox-long-long
>expr
\
##unbox-long-long
swap
[
src>>
vreg>vn
]
keep
[
unboxer>>
]
keep
drop
3
f
<array>
2
swap
[
set-array-nth
]
keep
1
swap
[
set-array-nth
]
keep
0
swap
[
set-array-nth
]
keep
;
USING:
accessors
arrays
compiler.cfg.instructions
compiler.cfg.value-numbering.expressions
compiler.cfg.value-numbering.graph
kernel
sequences.private
;
M:
##unbox-long-long
>expr
\
##unbox-long-long
swap
[
src>>
vreg>vn
]
keep
[
unboxer>>
]
keep
drop
3
f
<array>
2
swap
[
set-array-nth
]
keep
1
swap
[
set-array-nth
]
keep
0
swap
[
set-array-nth
]
keep
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.linear-scan.assignment
kernel
;
M:
##unbox-long-long
assign-insn-defs
[
vreg>reg
]
change-dst1
[
vreg>reg
]
change-dst2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.linear-scan.assignment
kernel
;
M:
##unbox-long-long
assign-insn-uses
[
vreg>reg
]
change-src
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.representations.rewrite
kernel
;
M:
##unbox-long-long
convert-insn-defs
[
converted-value
]
change-dst1
[
converted-value
]
change-dst2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.representations.rewrite
kernel
;
M:
##unbox-long-long
convert-insn-uses
[
converted-value
]
change-src
drop
;
USING:
compiler.cfg.instructions
compiler.cfg.representations.preferred
cpu.architecture
kernel
;
M:
##unbox-long-long
defs-vreg-reps
drop
{
int-rep
int-rep
}
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
kernel
;
M:
##unbox-long-long
defs-vregs
[
dst1>>
]
[
dst2>>
]
bi
2array
;
USING:
accessors
compiler.cfg.instructions
compiler.codegen
cpu.architecture
kernel
;
M:
##unbox-long-long
generate-insn
[
dst1>>
]
keep
[
dst2>>
]
keep
[
src>>
]
keep
[
unboxer>>
]
keep
drop
%unbox-long-long
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.renaming
kernel
;
M:
##unbox-long-long
rename-insn-defs
[
rename-value
]
change-dst1
[
rename-value
]
change-dst2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.renaming
kernel
;
M:
##unbox-long-long
rename-insn-uses
[
rename-value
]
change-src
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.construction.private
kernel
;
M:
##unbox-long-long
ssa-rename-insn-defs
[
gen-name
]
change-dst1
[
gen-name
]
change-dst2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.construction.private
kernel
;
M:
##unbox-long-long
ssa-rename-insn-uses
[
top-name
]
change-src
drop
;
USING:
compiler.cfg.instructions
compiler.cfg.representations.preferred
cpu.architecture
kernel
;
M:
##unbox-long-long
uses-vreg-reps
drop
{
tagged-rep
}
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##unbox-long-long
uses-vregs
src>>
1array
;