ARM64: Support sign extend for add and subtract
authormartyn.capewell <martyn.capewell@arm.com>
Tue, 7 Apr 2015 11:34:33 +0000 (04:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Apr 2015 11:34:41 +0000 (11:34 +0000)
commit8e846a61660ae849a0e6cc8a43376a97f412927b
treec8099f48a8e739df2e2d29af74e3b9c643e84204
parent59be4ba7f4f70dedcaac60914adaa2885a3da5d0
ARM64: Support sign extend for add and subtract

Support sxtb and sxth extend operators on add and subtract, as we've
done for ubtx/h. This is similar to ARM support for sxtab/h.

BUG=

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

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