Fix index adjustments for Get/Set/Address called on 1 dim arrays. (#35008)
authorJohan Lorensson <lateralusx.github@gmail.com>
Tue, 18 Aug 2020 16:48:50 +0000 (18:48 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Aug 2020 16:48:50 +0000 (18:48 +0200)
commit3aced828a9cd6efa5bb237db3e40aa8b93ecdfa4
tree4621f3bc1073fa831e10e71b36338c94d7482b2b
parent595fe08f685adf633aaaa0713f5ffa553b7b18ee
Fix index adjustments for Get/Set/Address called on 1 dim arrays. (#35008)

Enable tests failing due to missing array ctor and lbound index checks.

Fix interpreter Get/Set/Address using lbound.

Add missing OP_FCONV_TO_I on Arm64, causing test errors.

Fix interpreter arrray index and lower bound when using negative values.

Add branch checking array->bounds for NULL.
src/coreclr/tests/issues.targets
src/mono/mono/mini/interp/interp.c
src/mono/mono/mini/interp/transform.c
src/mono/mono/mini/intrinsics.c
src/mono/mono/mini/method-to-ir.c
src/mono/mono/mini/mini-arm64.c
src/mono/mono/mini/mini.h
src/mono/mono/mini/simd-intrinsics-netcore.c
src/mono/mono/mini/simd-intrinsics.c