aboutsummaryrefslogtreecommitdiffstats
path: root/otp_patch_apply
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-10-10 15:38:39 +0200
committerMagnus Lång <[email protected]>2016-11-16 17:22:04 +0100
commite98df8fac977350b56319df621c65a823bfe86f4 (patch)
treee67ceafe4d37333c29cf451fc2f6914feed78e8e /otp_patch_apply
parente1b9f467fbdb09aac9871e6064b67f87c8e59a47 (diff)
downloadotp-e98df8fac977350b56319df621c65a823bfe86f4.tar.gz
otp-e98df8fac977350b56319df621c65a823bfe86f4.tar.bz2
otp-e98df8fac977350b56319df621c65a823bfe86f4.zip
hipe_tagscheme: Improve fixnum_addsub with imm
The addsub sequence was suboptimal when one of the arguments was immediate, because it became an immediate alu followed by an immediate alub, and the optimisers would not combine them due to the risk of altering the branch. However, in this case we know that such a rewrite is safe, and do it directly in hipe_tagscheme:fixnum_addsub/5 instead.
Diffstat (limited to 'otp_patch_apply')
0 files changed, 0 insertions, 0 deletions