Revert of [x64] Generate test reg,reg instead of cmp reg,0. (patchset #2 id:20001...
authorbmeurer <bmeurer@chromium.org>
Thu, 19 Feb 2015 10:38:24 +0000 (02:38 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 19 Feb 2015 10:38:32 +0000 (10:38 +0000)
commit28483ffeb3ce527275a0bf745caac51ae00ea2f8
tree99bf9d5846e52107b0bb55ce2c0f180c040d7750
parent36ed9ca348a6d89a35e966db1b8ae77b2ac176a0
Revert of [x64] Generate test reg,reg instead of cmp reg,0. (patchset #2 id:20001 of https://codereview.chromium.org/916543004/)

Reason for revert:
Tanks some benchmarks (for no obvious reason)

Original issue's description:
> [x64] Generate test reg,reg instead of cmp reg,0.
>
> The instruction sequence is shorter and saves decoding bandwidth.
>
> R=svenpanne@chromium.org
>
> Committed: https://crrev.com/a7fb5ed400701b22c455d0ad410bc98b211e5730
> Cr-Commit-Position: refs/heads/master@{#26734}

TBR=svenpanne@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#26742}
src/compiler/x64/code-generator-x64.cc