[turbofan]: Use "leal" more prevasively on x64
authordanno <danno@chromium.org>
Mon, 1 Dec 2014 10:04:32 +0000 (02:04 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Dec 2014 10:04:42 +0000 (10:04 +0000)
commit91ec654bf964c150ccdaf43170f2ba50877f56f2
tree4896632ac39d697e7fdc277bc5c2816e5192a27a
parent82d0f800a2427f9b45f892e4c7b48038d9280242
[turbofan]: Use "leal" more prevasively on x64

Only use "addl" and "subl" in cases that have been measured to be
faster (currently only immediate operations).

Review URL: https://codereview.chromium.org/735293004

Cr-Commit-Position: refs/heads/master@{#25580}
src/compiler/x64/code-generator-x64.cc
src/compiler/x64/instruction-selector-x64.cc
test/unittests/compiler/x64/instruction-selector-x64-unittest.cc