[arm64] Use ubfiz in ARM64 instruction selector
authormartyn.capewell <martyn.capewell@arm.com>
Tue, 2 Jun 2015 10:57:40 +0000 (03:57 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Jun 2015 10:57:44 +0000 (10:57 +0000)
commitafd0367f5d219014433cb2dc1d84c50fa8196eac
tree3f39b5e938b4444b87c803318d38583d01ad1748
parent2fb894fa586485adbf8aec3a6101b6dd35573002
[arm64] Use ubfiz in ARM64 instruction selector

Select ubfiz for (x & mask) << imm where mask is contiguous and imm is non-zero.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#28755}
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