[turbofan] Add support for ARM64 Ubfx
authorbmeurer@chromium.org <bmeurer@chromium.org>
Thu, 9 Oct 2014 09:18:31 +0000 (09:18 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Thu, 9 Oct 2014 09:18:31 +0000 (09:18 +0000)
commitf0452e2193b5fe2eec03799e008d81064c7b7c59
tree93c7e4c971c8d96a196a5d0d2a6e86bd05a26701
parentb09998f13c4422d5d57246252907ede5cd6c2eb6
[turbofan] Add support for ARM64 Ubfx

Support selecting Ubfx for shift-mask and mask-shift operations. Also, rename
the shifts to match the instruction names.

BUG=
R=bmeurer@chromium.org

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

Patch from Martyn Capewell <m.m.capewell@googlemail.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24482 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/base/bits.h
src/base/utils/random-number-generator.cc
src/base/utils/random-number-generator.h
src/compiler/arm64/code-generator-arm64.cc
src/compiler/arm64/instruction-codes-arm64.h
src/compiler/arm64/instruction-selector-arm64.cc
test/unittests/base/bits-unittest.cc
test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc