Untitled Diff

Created Diff never expires
11 removals
Words removed14
Total words385
Words removed (%)3.64
131 lines
12 additions
Words added26
Total words397
Words added (%)6.55
132 lines
; Method Benchmarks:M(int):System.String:this
; Method Benchmarks:M(int):System.String:this
G_M15427_IG01:
G_M15427_IG01:
push rdi
push rdi
push rsi
push rsi
push rbx
push rbx
sub rsp, 80
sub rsp, 80
xor eax, eax
xor eax, eax
mov qword ptr [rsp+28H], rax
mov qword ptr [rsp+28H], rax
vxorps xmm4, xmm4
vxorps xmm4, xmm4
vmovdqa xmmword ptr [rsp+30H], xmm4
vmovdqa xmmword ptr [rsp+30H], xmm4
vmovdqa xmmword ptr [rsp+40H], xmm4
vmovdqa xmmword ptr [rsp+40H], xmm4
mov esi, edx
mov esi, edx
;; size=32 bbWeight=1 PerfScore 9.08
;; size=32 bbWeight=1 PerfScore 9.08


G_M15427_IG02:
G_M15427_IG02:
mov rcx, 0xD1FFAB1E
mov rcx, 0xD1FFAB1E
mov edx, 8
mov edx, 8
call CORINFO_HELP_CLASSINIT_SHARED_DYNAMICCLASS
call CORINFO_HELP_CLASSINIT_SHARED_DYNAMICCLASS
mov rcx, 0xD1FFAB1E ; data for System.Buffers.ArrayPool`1[ushort]:s_shared
mov rcx, 0xD1FFAB1E ; data for System.Buffers.ArrayPool`1[ushort]:s_shared
mov rcx, gword ptr [rcx]
mov rcx, gword ptr [rcx]
mov edx, 256
mov edx, 256
cmp dword ptr [rcx], ecx
cmp dword ptr [rcx], ecx
call [System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1[ushort]:Rent(int):ushort[]:this]
call [System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1[ushort]:Rent(int):ushort[]:this]
mov gword ptr [rsp+30H], rax
mov gword ptr [rsp+30H], rax
test rax, rax
test rax, rax
jne SHORT G_M15427_IG04
jne SHORT G_M15427_IG04
;; size=56 bbWeight=1 PerfScore 12.25
;; size=56 bbWeight=1 PerfScore 12.25


G_M15427_IG03:
G_M15427_IG03:
xor rcx, rcx
xor rcx, rcx
xor edx, edx
xor edx, edx
jmp SHORT G_M15427_IG05
jmp SHORT G_M15427_IG05
;; size=6 bbWeight=0.50 PerfScore 1.25
;; size=6 bbWeight=0.50 PerfScore 1.25


G_M15427_IG04:
G_M15427_IG04:
lea rcx, bword ptr [rax+10H]
lea rcx, bword ptr [rax+10H]
mov edx, dword ptr [rax+08H]
mov edx, dword ptr [rax+08H]
;; size=7 bbWeight=0.50 PerfScore 1.25
;; size=7 bbWeight=0.50 PerfScore 1.25


G_M15427_IG05:
G_M15427_IG05:
mov bword ptr [rsp+40H], rcx
mov bword ptr [rsp+40H], rcx
mov dword ptr [rsp+48H], edx
mov dword ptr [rsp+48H], edx
xor ecx, ecx
xor ecx, ecx
mov dword ptr [rsp+38H], ecx
mov dword ptr [rsp+38H], ecx
mov byte ptr [rsp+3CH], 0
mov byte ptr [rsp+3CH], 0
mov ecx, dword ptr [rsp+38H]
mov ecx, dword ptr [rsp+38H]
mov edi, dword ptr [rsp+48H]
mov edi, dword ptr [rsp+48H]
cmp ecx, edi
cmp ecx, edi
ja G_M15427_IG15
ja G_M15427_IG15
mov rdx, bword ptr [rsp+40H]
mov rdx, bword ptr [rsp+40H]
mov eax, ecx
mov eax, ecx
lea rbx, bword ptr [rdx+2*rax]
lea rbx, bword ptr [rdx+2*rax]
sub edi, ecx
sub edi, ecx
jns SHORT G_M15427_IG07
jns SHORT G_M15427_IG07
;; size=51 bbWeight=1 PerfScore 10.50
;; size=51 bbWeight=1 PerfScore 10.50


G_M15427_IG06:
G_M15427_IG06:
mov rdx, 0xD1FFAB1E ; ''
mov rdx, 0xD1FFAB1E ; ''
mov rcx, rdx
mov rcx, rdx
call [System.Diagnostics.Debug:Fail(System.String,System.String)]
call [System.Diagnostics.Debug:Fail(System.String,System.String)]
;; size=19 bbWeight=0.50 PerfScore 1.75
;; size=19 bbWeight=0.50 PerfScore 1.75


G_M15427_IG07:
G_M15427_IG07:
mov rcx, rbx
cmp edi, 3
cmp edi, 3
jb SHORT G_M15427_IG09
jb SHORT G_M15427_IG09
;; size=8 bbWeight=1 PerfScore 1.50
;; size=5 bbWeight=1 PerfScore 1.25


G_M15427_IG08:
G_M15427_IG08:
mov rdx, 0xD1FFAB1E ; 'Id '
mov rcx, 0xD1FFAB1E ; 'Id '
add rdx, 12
add rcx, 12
mov r8d, 6
mov eax, dword ptr [rcx]
call [System.Buffer:Memmove(byref,byref,ulong)]
mov edx, dword ptr [rcx+02H]
mov dword ptr [rbx], eax
mov dword ptr [rbx+02H], edx
mov ecx, dword ptr [rsp+38H]
mov ecx, dword ptr [rsp+38H]
add ecx, 3
add ecx, 3
mov dword ptr [rsp+38H], ecx
mov dword ptr [rsp+38H], ecx
jmp SHORT G_M15427_IG10
jmp SHORT G_M15427_IG10
;; size=39 bbWeight=0.50 PerfScore 4.00
;; size=37 bbWeight=0.50 PerfScore 5.38


G_M15427_IG09:
G_M15427_IG09:
lea rcx, [rsp+28H]
lea rcx, [rsp+28H]
mov rdx, 0xD1FFAB1E ; 'Id '
mov rdx, 0xD1FFAB1E ; 'Id '
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:GrowThenCopyString(System.String):this]
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:GrowThenCopyString(System.String):this]
;; size=21 bbWeight=0.50 PerfScore 1.88
;; size=21 bbWeight=0.50 PerfScore 1.88


G_M15427_IG10:
G_M15427_IG10:
lea rcx, [rsp+28H]
lea rcx, [rsp+28H]
mov edx, esi
mov edx, esi
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:AppendFormatted[int](int):this]
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:AppendFormatted[int](int):this]
mov ecx, dword ptr [rsp+38H]
mov ecx, dword ptr [rsp+38H]
mov rdx, bword ptr [rsp+40H]
mov rdx, bword ptr [rsp+40H]
mov eax, dword ptr [rsp+48H]
mov eax, dword ptr [rsp+48H]
cmp ecx, eax
cmp ecx, eax
jae SHORT G_M15427_IG12
jae SHORT G_M15427_IG12
;; size=30 bbWeight=1 PerfScore 8.00
;; size=30 bbWeight=1 PerfScore 8.00


G_M15427_IG11:
G_M15427_IG11:
mov eax, ecx
mov eax, ecx
mov word ptr [rdx+2*rax], 33
mov word ptr [rdx+2*rax], 33
inc ecx
inc ecx
mov dword ptr [rsp+38H], ecx
mov dword ptr [rsp+38H], ecx
jmp SHORT G_M15427_IG13
jmp SHORT G_M15427_IG13
;; size=16 bbWeight=0.50 PerfScore 2.25
;; size=16 bbWeight=0.50 PerfScore 2.25


G_M15427_IG12:
G_M15427_IG12:
lea rcx, [rsp+28H]
lea rcx, [rsp+28H]
mov rdx, 0xD1FFAB1E ; '!'
mov rdx, 0xD1FFAB1E ; '!'
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:GrowThenCopyString(System.String):this]
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:GrowThenCopyString(System.String):this]
;; size=21 bbWeight=0.50 PerfScore 1.88
;; size=21 bbWeight=0.50 PerfScore 1.88


G_M15427_IG13:
G_M15427_IG13:
lea rcx, [rsp+28H]
lea rcx, [rsp+28H]
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:ToStringAndClear():System.String:this]
call [System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:ToStringAndClear():System.String:this]
nop
nop
;; size=12 bbWeight=1 PerfScore 3.75
;; size=12 bbWeight=1 PerfScore 3.75


G_M15427_IG14:
G_M15427_IG14:
add rsp, 80
add rsp, 80
pop rbx
pop rbx
pop rsi
pop rsi
pop rdi
pop rdi
ret
ret
;; size=8 bbWeight=1 PerfScore 2.75
;; size=8 bbWeight=1 PerfScore 2.75


G_M15427_IG15:
G_M15427_IG15:
call [System.ThrowHelper:ThrowArgumentOutOfRangeException()]
call [System.ThrowHelper:ThrowArgumentOutOfRangeException()]
int3
int3
;; size=7 bbWeight=0 PerfScore 0.00
;; size=7 bbWeight=0 PerfScore 0.00
; Total bytes of code: 333
; Total bytes of code: 328