Untitled Diff
21 lines
; Benchstone.BenchI.IniArray.Test()
; Benchstone.BenchI.IniArray.Test()
sub rsp,28
sub rsp,38
mov rcx,offset MT_System.Char[]
mov rcx,offset MT_System.Char[]
mov edx,10
mov edx,10
call CORINFO_HELP_NEWARR_1_VC
call CORINFO_HELP_NEWARR_1_VC
xor edx,edx
mov [rsp+28],rax
xor eax,eax
mov [rsp+34],eax
M00_L00:
M00_L00:
xor ecx,ecx
xor eax,eax
nop dword ptr [rax]
mov [rsp+30],eax
M00_L01:
M00_L01:
movsxd r8,ecx
mov rax,[rsp+28]
mov word ptr [rax+r8*2+10],20
mov edx,[rsp+30]
inc ecx
movsxd rdx,edx
cmp ecx,10
mov word ptr [rax+rdx*2+10],20
mov eax,[rsp+30]
inc eax
mov [rsp+30],eax
cmp dword ptr [rsp+30],10
jl short M00_L01
jl short M00_L01
inc edx
mov eax,[rsp+34]
cmp edx,989680
inc eax
mov [rsp+34],eax
cmp dword ptr [rsp+34],989680
jl short M00_L00
jl short M00_L00
add rsp,28
mov rax,[rsp+28]
add rsp,38
ret
ret
; Total bytes of code 65
; Total bytes of code 107