diff options
author | Magnus Lång <[email protected]> | 2016-10-02 13:23:52 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-11-16 17:20:32 +0100 |
commit | fda8d7909594d434c01fdc9610127d09d1499a43 (patch) | |
tree | 458b7ad7d08e8bfbe836810df877470415ceddbb /lib/hipe/x86/hipe_x86_ra_ls.erl | |
parent | 921638f8b22479473482bdcaa25f8031ac85e7e8 (diff) | |
download | otp-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/hipe_x86_ra_ls.erl')
0 files changed, 0 insertions, 0 deletions