[RyuJIT/ARM32] Localloc implementation in codegen
authorAlexander Soldatov <soldatov.a@samsung.com>
Mon, 3 Apr 2017 14:43:30 +0000 (17:43 +0300)
committerAlexander Soldatov <soldatov.a@samsung.com>
Mon, 3 Apr 2017 14:43:30 +0000 (17:43 +0300)
commit20917a1ece166167734f3ece02882e3c444da121
tree6c46a517eaf818b1a6e2cedbd9dcedb02312b8ee
parent6f40552c88ac826647b787f6b433e359aacfe574
[RyuJIT/ARM32] Localloc implementation in codegen

Algorithm is almost the same as for other platforms but code
is little bit refactored to improve readability.

Added test to cover almost all possible branches of codegen.
Since arrays allocation of int type is needed multiplication and overflow
checks new tests cover only byte arrays.
24 files changed:
src/jit/codegenarm.cpp
src/jit/codegencommon.cpp
src/jit/lsraarm.cpp
tests/src/AllTestProjects.sln
tests/src/JIT/CodeGenBringUpTests/LocallocB_N.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocB_N.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocB_N_PSP.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocB_N_PSP.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB1.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB1.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB117.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB117.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB117_PSP.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB117_PSP.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB1_PSP.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB1_PSP.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5001.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5001.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5001_PSP.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5001_PSP.csproj [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5_PSP.cs [new file with mode: 0644]
tests/src/JIT/CodeGenBringUpTests/LocallocCnstB5_PSP.csproj [new file with mode: 0644]