runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/ARM32] enable unrolling for cpblk

Open hqueue opened this issue 9 years ago • 1 comments

When dotnet/coreclr#12604 (which is not merged yet) is merged, there will be a lot of cpblk using helper functions for HFA tests.

For example, a lot of helper function are observed to copy small structures at HFATest.TestCase:Main():int in JIT/jit64/hfa/main/testE/hfa_nd0E_r with PR dotnet/coreclr#12604.

               IN0487: 000F4A      addw    r1, sp, 0x7c8        // [V168 tmp160]
               IN0488: 000F4E      addw    r0, sp, 0xfc8        // [V36 tmp28]
               IN0489: 000F52      movs    r2, 8
               IN048a: 000F54      movw    r12, 0x3919
               IN048b: 000F58      movt    r12, 0x7668
               IN048c: 000F5C      blx     r12          // CORINFO_HELP_MEMCPY

We have to extend dotnet/coreclr#9979 and introduce unrolling for cpblk to improve code quality for many HFA tests.

I'm going to look into this along with pending PR.

hqueue avatar Jul 04 '17 00:07 hqueue

@BruceForstall Please assign this to me.

hqueue avatar Aug 22 '17 09:08 hqueue