[turbofan] Add/sub ARM64 lhs immediate tests
authorm.m.capewell@googlemail.com <m.m.capewell@googlemail.com>
Mon, 1 Sep 2014 13:41:19 +0000 (13:41 +0000)
committerm.m.capewell@googlemail.com <m.m.capewell@googlemail.com>
Mon, 1 Sep 2014 13:41:19 +0000 (13:41 +0000)
commit89cb23f3fdec31fac00be0af2dd87f8448dd753b
treef10e5e83ed4dbdd2f674cd0550692caccfb0c763
parent04d2830a8912164f2c1e53b2336e9441236674cc
[turbofan] Add/sub ARM64 lhs immediate tests

Addition supports lhs immediates by commuting. Subtraction supports only zero
lhs immediates, through use of the zero register.

BUG=
R=bmeurer@chromium.org

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

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