aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/x86
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-10-02 13:23:52 +0200
committerMagnus Lång <[email protected]>2016-11-16 17:20:32 +0100
commitfda8d7909594d434c01fdc9610127d09d1499a43 (patch)
tree458b7ad7d08e8bfbe836810df877470415ceddbb /lib/hipe/x86
parent921638f8b22479473482bdcaa25f8031ac85e7e8 (diff)
downloadotp-fda8d7909594d434c01fdc9610127d09d1499a43.tar.gz
otp-fda8d7909594d434c01fdc9610127d09d1499a43.tar.bz2
otp-fda8d7909594d434c01fdc9610127d09d1499a43.zip
hipe_tagscheme: Improve fixnum add on x86
With the introduction of immediate adds encoded as 'LEA' on x86, it is now possible to do a fixnum add in two instructions and one branch by commuting the addition and reusing the result register as a temporary, which makes the 'alub' a 2-address add, saving a move instruction.
Diffstat (limited to 'lib/hipe/x86')
0 files changed, 0 insertions, 0 deletions