Jit: fix long shift helper for overly long shift counts (#15443)
authorAndy Ayers <andya@microsoft.com>
Fri, 8 Dec 2017 23:10:25 +0000 (15:10 -0800)
committerGitHub <noreply@github.com>
Fri, 8 Dec 2017 23:10:25 +0000 (15:10 -0800)
commitd636649345f1f512be2f617564503a25f655757b
treef5f725a690d11c15f5ea7d10f3b3a9500bbff8aa
parentddab65b2643ec2c3b7a376f4f44a05073124b732
Jit: fix long shift helper for overly long shift counts (#15443)

Reduce shift amount modulo 64 to match behavior on other platforms and the
jit optimizer.

Also, fix IL in related test case so it is valid for 32 bits too.

Also, make these two tests pri-0 so they get run with regular CI testing.

Fixes #15442.
src/vm/i386/jithelp.asm
tests/src/JIT/Regression/JitBlue/GitHub_15291/GitHub_15291.ilproj
tests/src/JIT/Regression/JitBlue/GitHub_15319/GitHub_15319_1.il
tests/src/JIT/Regression/JitBlue/GitHub_15319/GitHub_15319_1.ilproj