Fixes GT_MOD codegen and three other issues for ARM64
authorBrian Sullivan <briansul@microsoft.com>
Fri, 26 Feb 2016 22:21:51 +0000 (14:21 -0800)
committerBrian Sullivan <briansul@microsoft.com>
Sat, 27 Feb 2016 01:49:17 +0000 (17:49 -0800)
commit8d28e489593788e48ab7310559c403c47b3220a7
treeed72dd7f56edbf575931a3a1cdc433b40e13b1f0
parent2ab15d7ddf4633fa307c53d91cc3eab0e6f869c0
Fixes GT_MOD codegen and three other issues for ARM64

Fix Issue 3263 - Incorrect codegen for rem.un - Unisgned Remainder
Fix Issue 3317 - Improve the codegen for divide so that we omit checks when we have a constant divisor
Fix Issue 3326 - assert EA_4BYTE or EA_8BYTE
Fix an assert when using alloca with allocation between 65 and 4095 bytes

Also fixed the name for GT_UDIV and GT_UDIV to contain a "un-" prefix.
Added 10 additional passing tests with tag REL_PASS

Commit migrated from https://github.com/dotnet/coreclr/commit/57fcdf4b6982322dd1fe76dd41bd07a545f74985
src/coreclr/src/jit/codegenarm64.cpp
src/coreclr/src/jit/gtlist.h
src/coreclr/src/jit/morph.cpp
src/coreclr/tests/arm64/Tests.lst