Use ADD instead of MUL
MUL rax,2
ADD rax,rax
lea r14,[r15+r15*1+0x1]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Use ADD instead of MUL
MUL rax,2
intoADD rax,rax
but gcc7 doesn't.lea r14,[r15+r15*1+0x1]
; this is 1cycleand run in parallel if the branch prediction is correct.
following instructions.
It needs large immediate and Macro-Fusion is not applied.
ADD and JO is much smaller though it is also Macro-Fusion unfriendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e