JIT: fix decompose long left shift for overshift cases (#15704)
authorAndy Ayers <andya@microsoft.com>
Sat, 6 Jan 2018 01:47:09 +0000 (17:47 -0800)
committerGitHub <noreply@github.com>
Sat, 6 Jan 2018 01:47:09 +0000 (17:47 -0800)
commit16246c9117aa456eb0786d4e23e827dce585b6c0
tree7aeb5a771bb881fcffd0fd3df9c45db9fe72ecdd
parent5f4510d4db515b49015a961d335facd3e59b8614
JIT: fix decompose long left shift for overshift cases (#15704)

Need to reduce the shift amount modulo 64 to match the helper and
`gtFoldExpr` behavior. Since reduced amount must be less than 64
we can remove handling for that case.

Also updating the arm LLSH helper.

Re-enable the test case disabled by #15567 and also enable for arm/arm64.

Closes #15566.
src/jit/decomposelongs.cpp
src/vm/jithelpers.cpp
tests/arm/Tests.lst
tests/arm64/Tests.lst
tests/issues.targets