[turbofan] Allow encodable 64-bit constants as immediate for ARM64.
authorbaptiste.afsa@arm.com <baptiste.afsa@arm.com>
Mon, 22 Sep 2014 12:32:23 +0000 (12:32 +0000)
committerbaptiste.afsa@arm.com <baptiste.afsa@arm.com>
Mon, 22 Sep 2014 12:32:23 +0000 (12:32 +0000)
commitd7810454b7918f9b7f13df683c9e5e192f1a2406
treecb1933187df95cadf9c69365122ab5695b2e307c
parentb62b8a8afdb42dc431f7b88c0bc1015a7b136b72
[turbofan] Allow encodable 64-bit constants as immediate for ARM64.

Also make sure that operands order for commutative 64-bit binary operations
are properly swapped when the constant is on the left hand-side.

R=bmeurer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24114 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/arm64/instruction-selector-arm64-unittest.cc
src/compiler/arm64/instruction-selector-arm64.cc
src/compiler/instruction-selector-unittest.h