runtime
runtime copied to clipboard
[RyuJIT/ARM32] enable unrolling for cpblk
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.
@BruceForstall Please assign this to me.