diff options
author | Björn Gustavsson <[email protected]> | 2010-12-08 15:27:37 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-01-17 15:23:46 +0100 |
commit | 74d7bd100b742a803c8de82c9c997308cf871038 (patch) | |
tree | 8230b273d29b0c2f60950c9c7a0db747d217d18d /erts/emulator/sys/vxworks | |
parent | b166f8975387d7ef07409e841d45c2cd74c2282e (diff) | |
download | otp-74d7bd100b742a803c8de82c9c997308cf871038.tar.gz otp-74d7bd100b742a803c8de82c9c997308cf871038.tar.bz2 otp-74d7bd100b742a803c8de82c9c997308cf871038.zip |
Optimize addition of a small integer to a variable
Introduce a new i_increment/4 to optimize the addition of
a register and a small integer. This instruction saves two
instruction words compared to the standard instructions
(an i_fetch/2 instruction followed by a i_plus/3 instruction)
and will also be slightly faster.
Diffstat (limited to 'erts/emulator/sys/vxworks')
0 files changed, 0 insertions, 0 deletions