[turbofan] Negated immediates for ARM64 add/sub
authorm.m.capewell@googlemail.com <m.m.capewell@googlemail.com>
Mon, 6 Oct 2014 10:39:23 +0000 (10:39 +0000)
committerm.m.capewell@googlemail.com <m.m.capewell@googlemail.com>
Mon, 6 Oct 2014 10:39:23 +0000 (10:39 +0000)
commitb662e754aed0fdea5d9fd0a7321640db49952cd4
tree759689c342116ba37db1a11ad24dfdaed8204f83
parentf40d582cf10b06ecd39c42bc7a6a01cdd885e5a8
[turbofan] Negated immediates for ARM64 add/sub

Add ARM64 instruction selector support for negating the sense of an arithmetic
instruction when its immediate is negative.

BUG=
R=bmeurer@chromium.org

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

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