aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/utils/beam_strip
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-09-27 17:26:53 +0200
committerBjörn Gustavsson <[email protected]>2017-10-05 12:37:57 +0200
commitd7588c53399dfa369ae2af6874e69d252d062054 (patch)
tree58bd16f75cec99bcc8b27a5129671ac3f0af3df3 /erts/emulator/utils/beam_strip
parent43f1817f3367bf3aa346c8b3dae10862d3723515 (diff)
downloadotp-d7588c53399dfa369ae2af6874e69d252d062054.tar.gz
otp-d7588c53399dfa369ae2af6874e69d252d062054.tar.bz2
otp-d7588c53399dfa369ae2af6874e69d252d062054.zip
Optimize packing for "optional use" operands
Operands that are marked with a "?" are not always used when an instruction is executed. Enhance the packing algorithm to place optional use operands into the instruction word even they are not the first operand (as long as the total instruction size stays the same). Here are the instructions that will be packed differently because of this change: allocate_heap t I t? allocate_heap_zero t I t? test_heap I t? i_bs_get_integer_8 x f? x i_bs_get_integer_16 x f? x i_bs_get_integer_32 x f? x
Diffstat (limited to 'erts/emulator/utils/beam_strip')
0 files changed, 0 insertions, 0 deletions