forked from MihaZupan/runtime-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JitDiff X64] [EgorBo] Assign VN for COMMA in gtWrapWithSideEffects #733
Comments
Top method improvements-76 (-4.65 % of base) - Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendSym(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext,ubyte):this ; Assembly listing for method Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendSym(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext,ubyte):this (FullOpts)
; Emitting BLENDED_CODE for X64 with AVX - Unix
; FullOpts code
; optimized code
; rbp based frame
; partially interruptible
; No PGO data
; 0 inlinees with PGO data; 51 single block inlinees; 32 inlinees without PGO data
; Final local variable assignments
;
; V00 this [V00,T00] ( 23, 12.50) byref -> rbx this single-def
; V01 arg1 [V01,T01] ( 23, 10.12) ref -> r15 class-hnd single-def <Microsoft.CSharp.RuntimeBinder.Semantics.Symbol>
; V02 arg2 [V02,T02] ( 7, 4.50) ref -> r14 class-hnd single-def <Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext>
; V03 arg3 [V03,T12] ( 3, 2.50) ubyte -> rcx single-def
;* V04 loc0 [V04 ] ( 0, 0 ) int -> zero-ref
; V05 loc1 [V05,T39] ( 4, 2 ) ref -> rsi class-hnd exact single-def <System.String>
; V06 loc2 [V06,T57] ( 3, 1.50) ref -> r14 class-hnd exact single-def <Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterSymbol>
;# V07 OutArgs [V07 ] ( 1, 1 ) struct ( 0) [rsp+0x00] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
; V08 tmp1 [V08,T21] ( 3, 3 ) ref -> r15 class-hnd exact single-def "dup spill" <System.Object[]>
; V09 tmp2 [V09,T22] ( 3, 3 ) ref -> rax class-hnd exact single-def "Single-def Box Helper" <System.Int32>
; V10 tmp3 [V10,T43] ( 2, 2 ) ref -> rdi class-hnd "spilling qmarkNull" <Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol>
; V11 tmp4 [V11,T23] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V12 tmp5 [V12,T24] ( 3, 3 ) ref -> rdx class-hnd exact single-def "Inlining Arg" <Microsoft.CSharp.RuntimeBinder.Syntax.Name>
; V13 tmp6 [V13,T06] ( 5, 5 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V14 tmp7 [V14,T58] ( 3, 1.50) ref -> r13 class-hnd single-def "Inline stloc first use temp" <ushort[]>
; V15 tmp8 [V15,T65] ( 3, 1.50) int -> r12 "Inline stloc first use temp"
; V16 tmp9 [V16,T44] ( 2, 2 ) byref -> rsi single-def "Inlining Arg"
;* V17 tmp10 [V17 ] ( 0, 0 ) byref -> zero-ref "Inline stloc first use temp"
; V18 tmp11 [V18,T13] ( 4, 4 ) ref -> rsi class-hnd exact single-def "Inlining Arg" <System.String>
; V19 tmp12 [V19,T25] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
;* V20 tmp13 [V20 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Inlining Arg" <Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol>
;* V21 tmp14 [V21 ] ( 0, 0 ) int -> zero-ref ld-addr-op "Inlining Arg"
; V22 tmp15 [V22,T26] ( 3, 3 ) ref -> rax class-hnd exact single-def "Single-def Box Helper" <Microsoft.CSharp.RuntimeBinder.Errors.MessageID>
; V23 tmp16 [V23,T27] ( 3, 3 ) ref -> rsi class-hnd exact single-def "dup spill" <System.String>
; V24 tmp17 [V24,T14] ( 4, 4 ) ref -> rsi class-hnd exact single-def "Inlining Arg" <System.String>
; V25 tmp18 [V25,T28] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V26 tmp19 [V26,T29] ( 3, 3 ) ref -> rdx class-hnd exact single-def "Inlining Arg" <Microsoft.CSharp.RuntimeBinder.Syntax.Name>
; V27 tmp20 [V27,T07] ( 5, 5 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V28 tmp21 [V28,T59] ( 3, 1.50) ref -> rbx class-hnd single-def "Inline stloc first use temp" <ushort[]>
; V29 tmp22 [V29,T66] ( 3, 1.50) int -> r15 "Inline stloc first use temp"
; V30 tmp23 [V30,T45] ( 2, 2 ) byref -> rsi single-def "Inlining Arg"
;* V31 tmp24 [V31 ] ( 0, 0 ) byref -> zero-ref "Inline stloc first use temp"
; V32 tmp25 [V32,T15] ( 4, 4 ) ref -> rsi class-hnd exact single-def "Inlining Arg" <System.String>
; V33 tmp26 [V33,T30] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V34 tmp27 [V34,T31] ( 3, 3 ) ref -> rdx class-hnd exact single-def "Inlining Arg" <Microsoft.CSharp.RuntimeBinder.Syntax.Name>
; V35 tmp28 [V35,T08] ( 5, 5 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V36 tmp29 [V36,T60] ( 3, 1.50) ref -> r15 class-hnd single-def "Inline stloc first use temp" <ushort[]>
; V37 tmp30 [V37,T67] ( 3, 1.50) int -> r13 "Inline stloc first use temp"
; V38 tmp31 [V38,T46] ( 2, 2 ) byref -> rsi single-def "Inlining Arg"
;* V39 tmp32 [V39 ] ( 0, 0 ) byref -> zero-ref "Inline stloc first use temp"
; V40 tmp33 [V40,T16] ( 4, 4 ) ref -> rsi class-hnd exact single-def "Inlining Arg" <System.String>
; V41 tmp34 [V41,T32] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
;* V42 tmp35 [V42 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Inline return value spill temp" <System.Text.StringBuilder>
; V43 tmp36 [V43,T03] ( 6, 6 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V44 tmp37 [V44,T68] ( 3, 1.50) int -> r15 "Inline stloc first use temp"
; V45 tmp38 [V45,T61] ( 3, 1.50) ref -> r13 class-hnd single-def "Inline stloc first use temp" <ushort[]>
;* V46 tmp39 [V46 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Inline return value spill temp" <System.Text.StringBuilder>
; V47 tmp40 [V47,T09] ( 5, 5 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V48 tmp41 [V48,T69] ( 3, 1.50) int -> rax "Inline stloc first use temp"
; V49 tmp42 [V49,T62] ( 3, 1.50) ref -> r13 class-hnd single-def "Inline stloc first use temp" <ushort[]>
;* V50 tmp43 [V50 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Inlining Arg" <System.Globalization.CultureInfo>
;* V51 tmp44 [V51 ] ( 0, 0 ) struct (16) zero-ref "spilled call-like call argument" <System.ReadOnlySpan`1[System.Object]>
;* V52 tmp45 [V52 ] ( 0, 0 ) ref -> zero-ref
;* V53 tmp46 [V53 ] ( 0, 0 ) struct (16) zero-ref multireg-arg ld-addr-op "NewObj constructor temp" <System.ReadOnlySpan`1[System.Object]>
; V54 tmp47 [V54,T17] ( 4, 4 ) ref -> rsi class-hnd exact single-def "Inlining Arg" <System.String>
; V55 tmp48 [V55,T33] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V56 tmp49 [V56,T34] ( 3, 3 ) ref -> rdx class-hnd exact single-def "Inlining Arg" <Microsoft.CSharp.RuntimeBinder.Syntax.Name>
; V57 tmp50 [V57,T10] ( 5, 5 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V58 tmp51 [V58,T63] ( 3, 1.50) ref -> r15 class-hnd single-def "Inline stloc first use temp" <ushort[]>
; V59 tmp52 [V59,T70] ( 3, 1.50) int -> rbx "Inline stloc first use temp"
; V60 tmp53 [V60,T47] ( 2, 2 ) byref -> rsi single-def "Inlining Arg"
;* V61 tmp54 [V61 ] ( 0, 0 ) byref -> zero-ref "Inline stloc first use temp"
; V62 tmp55 [V62,T18] ( 4, 4 ) ref -> rsi class-hnd exact single-def "Inlining Arg" <System.String>
; V63 tmp56 [V63,T35] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V64 tmp57 [V64,T36] ( 3, 3 ) ref -> rdx class-hnd exact single-def "Inlining Arg" <Microsoft.CSharp.RuntimeBinder.Syntax.Name>
; V65 tmp58 [V65,T11] ( 5, 5 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
; V66 tmp59 [V66,T64] ( 3, 1.50) ref -> r15 class-hnd single-def "Inline stloc first use temp" <ushort[]>
; V67 tmp60 [V67,T71] ( 3, 1.50) int -> rbx "Inline stloc first use temp"
; V68 tmp61 [V68,T48] ( 2, 2 ) byref -> rsi single-def "Inlining Arg"
;* V69 tmp62 [V69 ] ( 0, 0 ) byref -> zero-ref "Inline stloc first use temp"
; V70 tmp63 [V70,T19] ( 4, 4 ) ref -> rsi class-hnd exact single-def "Inlining Arg" <System.String>
; V71 tmp64 [V71,T37] ( 3, 3 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.Text.StringBuilder>
;* V72 tmp65 [V72 ] ( 0, 0 ) byref -> zero-ref "field V51._reference (fldOffset=0x0)" P-INDEP
;* V73 tmp66 [V73 ] ( 0, 0 ) int -> zero-ref "field V51._length (fldOffset=0x8)" P-INDEP
; V74 tmp67 [V74,T80] ( 2, 1 ) byref -> rdx single-def "field V53._reference (fldOffset=0x0)" P-INDEP
;* V75 tmp68 [V75,T82] ( 0, 0 ) int -> zero-ref "field V53._length (fldOffset=0x8)" P-INDEP
; V76 tmp69 [V76,T49] ( 2, 2 ) ref -> rsi single-def "argument with side effect"
; V77 tmp70 [V77,T50] ( 2, 2 ) ref -> rsi single-def "argument with side effect"
; V78 tmp71 [V78,T51] ( 2, 2 ) ref -> rsi single-def "argument with side effect"
; V79 cse0 [V79,T05] ( 10, 5 ) ref -> r13 multi-def "CSE #01: aggressive"
; V80 cse1 [V80,T20] ( 6, 3 ) int -> r12 multi-def "CSE #19: conservative"
; V81 cse2 [V81,T72] ( 3, 1.50) int -> rax "CSE #02: conservative"
; V82 cse3 [V82,T73] ( 3, 1.50) int -> r14 "CSE #07: conservative"
; V83 cse4 [V83,T74] ( 3, 1.50) int -> rbx "CSE #10: conservative"
; V84 cse5 [V84,T81] ( 2, 1 ) int -> rsi "CSE #14: conservative"
; V85 cse6 [V85,T75] ( 3, 1.50) int -> r15 "CSE #15: conservative"
; V86 rat0 [V86,T52] ( 2, 2 ) byref -> rsi "fgMakeTemp is creating a new local variable"
; V87 rat1 [V87,T53] ( 2, 2 ) byref -> rax "fgMakeTemp is creating a new local variable"
; V88 rat2 [V88,T54] ( 2, 2 ) byref -> rdx "fgMakeTemp is creating a new local variable"
; V89 rat3 [V89,T55] ( 2, 2 ) byref -> rsi "fgMakeTemp is creating a new local variable"
; V90 rat4 [V90,T56] ( 2, 2 ) byref -> rsi "fgMakeTemp is creating a new local variable"
; V91 rat5 [V91,T40] ( 3, 2 ) ref -> rsi "replacement local"
; V92 rat6 [V92,T77] ( 3, 1 ) long -> rdi "CSE for expectedClsNode"
; V93 rat7 [V93,T41] ( 3, 2 ) ref -> rsi "replacement local"
; V94 rat8 [V94,T78] ( 3, 1 ) long -> rdi "CSE for expectedClsNode"
; V95 rat9 [V95,T38] ( 4, 2.25) ref -> rsi "replacement local"
; V96 rat10 [V96,T76] ( 3, 1.25) long -> rdi "CSE for expectedClsNode"
; V97 rat11 [V97,T42] ( 3, 2 ) ref -> r14 "replacement local"
; V98 rat12 [V98,T79] ( 3, 1 ) long -> rdi "CSE for expectedClsNode"
; V99 rat13 [V99,T04] ( 3, 5.78) int -> rsi "ReplaceWithLclVar is creating a new local variable"
;
; Lcl frame size = 8
G_M48351_IG01:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
lea rbp, [rsp+0x30]
mov rbx, rdi
mov r15, rsi
mov r14, rdx
;; size=25 bbWeight=1 PerfScore 8.25
G_M48351_IG02:
mov esi, dword ptr [r15+0x28]
cmp esi, 7
ja G_M48351_IG34
;; size=13 bbWeight=1 PerfScore 3.25
G_M48351_IG03:
mov esi, esi
lea rdi, [reloc @RWD00]
mov edi, dword ptr [rdi+4*rsi]
lea rax, G_M48351_IG02
add rdi, rax
jmp rdi
;; size=24 bbWeight=0.89 PerfScore 5.33
G_M48351_IG04:
mov rsi, r15
mov rdi, 0xD1FFAB1E ; Microsoft.CSharp.RuntimeBinder.Semantics.PropertySymbol
cmp qword ptr [rsi], rdi
je SHORT G_M48351_IG06
;; size=18 bbWeight=0.25 PerfScore 1.12
G_M48351_IG05:
mov rsi, r15
mov rax, 0xD1FFAB1E ; code for CORINFO_HELP_CHKCASTCLASS_SPECIAL
call [rax]CORINFO_HELP_CHKCASTCLASS_SPECIAL
mov rsi, rax
;; size=18 bbWeight=0.12 PerfScore 0.47
G_M48351_IG06:
mov rdi, rbx
mov rdx, r14
mov rax, 0xD1FFAB1E ; code for Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendProperty(Microsoft.CSharp.RuntimeBinder.Semantics.PropertySymbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
call [rax]Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendProperty(Microsoft.CSharp.RuntimeBinder.Semantics.PropertySymbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
jmp G_M48351_IG34
;; size=23 bbWeight=0.50 PerfScore 2.88
G_M48351_IG07:
mov rsi, r15
mov rdi, 0xD1FFAB1E ; Microsoft.CSharp.RuntimeBinder.Semantics.MethodSymbol
cmp qword ptr [rsi], rdi
jne G_M48351_IG36
;; size=22 bbWeight=0.25 PerfScore 1.12
G_M48351_IG08:
movzx rcx, cl
mov rdi, rbx
mov rdx, r14
mov rax, 0xD1FFAB1E ; code for Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendMethod(Microsoft.CSharp.RuntimeBinder.Semantics.MethodSymbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext,ubyte):this
call [rax]Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendMethod(Microsoft.CSharp.RuntimeBinder.Semantics.MethodSymbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext,ubyte):this
jmp G_M48351_IG34
;; size=26 bbWeight=0.50 PerfScore 3.00
G_M48351_IG09:
mov rdx, gword ptr [r15+0x08]
mov rsi, 0xD1FFAB1E ; const ptr
mov r13, gword ptr [rsi]
- mov esi, 121
- cmp esi, 16
- jbe G_M48351_IG39
cmp rdx, gword ptr [r13+0x90]
je SHORT G_M48351_IG10
mov rsi, gword ptr [rdx+0x08]
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
test rsi, rsi
je G_M48351_IG34
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
jmp G_M48351_IG34
- ;; size=83 bbWeight=0.50 PerfScore 12.75
+ ;; size=69 bbWeight=0.50 PerfScore 12.00
G_M48351_IG10:
mov rdi, gword ptr [rbx]
mov rsi, 0xD1FFAB1E
mov r15, gword ptr [rdi+0x08]
mov ebx, dword ptr [rdi+0x18]
lea r12d, [rbx+0x04]
cmp dword ptr [r15+0x08], r12d
jae SHORT G_M48351_IG11
mov edx, 4
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:AppendWithExpansion(byref,int):this
call [rax]System.Text.StringBuilder:AppendWithExpansion(byref,int):this
jmp G_M48351_IG34
;; size=52 bbWeight=0.50 PerfScore 8.12
G_M48351_IG11:
movsxd rsi, ebx
lea rsi, bword ptr [r15+2*rsi+0x10]
mov rdx, 0xD1FFAB1E
mov qword ptr [rsi], rdx
mov dword ptr [rdi+0x18], r12d
jmp G_M48351_IG34
;; size=30 bbWeight=0.50 PerfScore 2.75
G_M48351_IG12:
mov rsi, gword ptr [r15+0x10]
mov rdi, rbx
mov rdx, r14
mov rax, 0xD1FFAB1E ; code for Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendParentCore(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
call [rax]Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendParentCore(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
mov rdx, gword ptr [r15+0x08]
mov rsi, 0xD1FFAB1E ; const ptr
mov r13, gword ptr [rsi]
- mov esi, 121
- cmp esi, 16
- jbe G_M48351_IG39
cmp rdx, gword ptr [r13+0x90]
je SHORT G_M48351_IG13
mov rsi, gword ptr [rdx+0x08]
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
test rsi, rsi
je G_M48351_IG34
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
jmp G_M48351_IG34
- ;; size=105 bbWeight=0.50 PerfScore 15.62
+ ;; size=91 bbWeight=0.50 PerfScore 14.88
G_M48351_IG13:
mov rdi, gword ptr [rbx]
mov rsi, 0xD1FFAB1E
mov r15, gword ptr [rdi+0x08]
mov r13d, dword ptr [rdi+0x18]
lea ebx, [r13+0x04]
cmp dword ptr [r15+0x08], ebx
jae SHORT G_M48351_IG14
mov edx, 4
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:AppendWithExpansion(byref,int):this
call [rax]System.Text.StringBuilder:AppendWithExpansion(byref,int):this
jmp G_M48351_IG34
;; size=53 bbWeight=0.50 PerfScore 8.12
G_M48351_IG14:
movsxd rdx, r13d
lea rdx, bword ptr [r15+2*rdx+0x10]
mov rsi, 0xD1FFAB1E
mov qword ptr [rdx], rsi
mov dword ptr [rdi+0x18], ebx
jmp G_M48351_IG34
;; size=29 bbWeight=0.50 PerfScore 2.75
G_M48351_IG15:
cmp gword ptr [r15+0x08], 0
je G_M48351_IG18
mov rdx, gword ptr [r15+0x08]
mov rsi, 0xD1FFAB1E ; const ptr
mov r13, gword ptr [rsi]
- mov esi, 121
- cmp esi, 16
- jbe G_M48351_IG39
cmp rdx, gword ptr [r13+0x90]
je SHORT G_M48351_IG16
mov rsi, gword ptr [rdx+0x08]
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
test rsi, rsi
je G_M48351_IG34
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
jmp G_M48351_IG34
- ;; size=94 bbWeight=0.50 PerfScore 14.75
+ ;; size=80 bbWeight=0.50 PerfScore 14.00
G_M48351_IG16:
mov rdi, gword ptr [rbx]
mov rsi, 0xD1FFAB1E
mov r15, gword ptr [rdi+0x08]
mov ebx, dword ptr [rdi+0x18]
lea r12d, [rbx+0x04]
cmp dword ptr [r15+0x08], r12d
jae SHORT G_M48351_IG17
mov edx, 4
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:AppendWithExpansion(byref,int):this
call [rax]System.Text.StringBuilder:AppendWithExpansion(byref,int):this
jmp G_M48351_IG34
;; size=52 bbWeight=0.50 PerfScore 8.12
G_M48351_IG17:
movsxd rsi, ebx
lea rsi, bword ptr [r15+2*rsi+0x10]
mov rax, 0xD1FFAB1E
mov qword ptr [rsi], rax
mov dword ptr [rdi+0x18], r12d
jmp G_M48351_IG34
;; size=30 bbWeight=0.50 PerfScore 2.75
G_M48351_IG18:
mov r14, r15
mov rdi, 0xD1FFAB1E ; Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterSymbol
cmp qword ptr [r14], rdi
jne G_M48351_IG37
;; size=22 bbWeight=0.25 PerfScore 1.12
G_M48351_IG19:
cmp byte ptr [r14+0x4C], 0
je SHORT G_M48351_IG21
mov rdi, gword ptr [rbx]
mov r15d, dword ptr [rdi+0x18]
mov r13, gword ptr [rdi+0x08]
cmp dword ptr [r13+0x08], r15d
ja SHORT G_M48351_IG20
mov esi, 33
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:AppendWithExpansion(ushort):this
call [rax]System.Text.StringBuilder:AppendWithExpansion(ushort):this
jmp SHORT G_M48351_IG21
;; size=43 bbWeight=0.50 PerfScore 9.75
G_M48351_IG20:
mov esi, r15d
mov word ptr [r13+2*rsi+0x10], 33
inc dword ptr [rdi+0x18]
;; size=14 bbWeight=0.50 PerfScore 2.12
G_M48351_IG21:
mov rdi, gword ptr [rbx]
mov r15d, dword ptr [rdi+0x18]
mov eax, r15d
mov r13, gword ptr [rdi+0x08]
mov esi, dword ptr [r13+0x08]
cmp esi, eax
ja SHORT G_M48351_IG22
mov esi, 33
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:AppendWithExpansion(ushort):this
call [rax]System.Text.StringBuilder:AppendWithExpansion(ushort):this
jmp SHORT G_M48351_IG23
;; size=41 bbWeight=0.50 PerfScore 7.50
G_M48351_IG22:
mov esi, eax
mov word ptr [r13+2*rsi+0x10], 33
inc r15d
mov dword ptr [rdi+0x18], r15d
;; size=17 bbWeight=0.50 PerfScore 1.25
G_M48351_IG23:
mov rdi, 0xD1FFAB1E ; System.Object[]
mov esi, 1
call CORINFO_HELP_NEWARR_1_OBJ
mov r15, rax
mov rdi, 0xD1FFAB1E ; System.Int32
call CORINFO_HELP_NEWSFAST
mov edi, dword ptr [r14+0x48]
mov dword ptr [rax+0x08], edi
lea rdi, bword ptr [r15+0x10]
mov rsi, rax
call CORINFO_HELP_ASSIGN_REF
lea rdx, bword ptr [r15+0x10]
mov ecx, 1
mov rdi, 0xD1FFAB1E ; const ptr
mov rdi, gword ptr [rdi]
mov rsi, 0xD1FFAB1E ; '{0}'
mov rax, 0xD1FFAB1E ; code for System.String:FormatHelper(System.IFormatProvider,System.String,System.ReadOnlySpan`1[System.Object]):System.String
call [rax]System.String:FormatHelper(System.IFormatProvider,System.String,System.ReadOnlySpan`1[System.Object]):System.String
mov rsi, rax
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
test rsi, rsi
je G_M48351_IG34
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
jmp G_M48351_IG34
;; size=143 bbWeight=0.50 PerfScore 14.12
G_M48351_IG24:
mov rdi, 0xD1FFAB1E ; Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol
xor rax, rax
cmp qword ptr [r15], rdi
mov rdi, rax
cmove rdi, r15
mov rax, 0xD1FFAB1E ; code for Microsoft.CSharp.RuntimeBinder.Semantics.PredefinedTypes:GetNiceName(Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol):System.String
call [rax]Microsoft.CSharp.RuntimeBinder.Semantics.PredefinedTypes:GetNiceName(Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol):System.String
mov rsi, rax
test rsi, rsi
jne G_M48351_IG29
mov rsi, gword ptr [r15+0x10]
mov rdi, rbx
mov rdx, r14
mov rax, 0xD1FFAB1E ; code for Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendParentCore(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
call [rax]Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendParentCore(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
mov rdx, gword ptr [r15+0x08]
mov rsi, 0xD1FFAB1E ; const ptr
mov r13, gword ptr [rsi]
- mov esi, 121
- cmp esi, 16
- jbe G_M48351_IG39
cmp rdx, gword ptr [r13+0x90]
je SHORT G_M48351_IG25
mov rsi, gword ptr [rdx+0x08]
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
test rsi, rsi
je SHORT G_M48351_IG27
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
jmp SHORT G_M48351_IG27
- ;; size=144 bbWeight=0.50 PerfScore 20.00
+ ;; size=130 bbWeight=0.50 PerfScore 19.25
G_M48351_IG25:
mov rdi, gword ptr [rbx]
mov rsi, 0xD1FFAB1E
mov r13, gword ptr [rdi+0x08]
mov r12d, dword ptr [rdi+0x18]
lea eax, [r12+0x04]
cmp dword ptr [r13+0x08], eax
jae SHORT G_M48351_IG26
mov edx, 4
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:AppendWithExpansion(byref,int):this
call [rax]System.Text.StringBuilder:AppendWithExpansion(byref,int):this
jmp SHORT G_M48351_IG27
;; size=51 bbWeight=0.50 PerfScore 8.12
G_M48351_IG26:
movsxd rsi, r12d
lea rsi, bword ptr [r13+2*rsi+0x10]
mov rdx, 0xD1FFAB1E
mov qword ptr [rsi], rdx
mov dword ptr [rdi+0x18], eax
;; size=24 bbWeight=0.50 PerfScore 2.25
G_M48351_IG27:
mov rsi, r15
mov rdi, 0xD1FFAB1E ; Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol
cmp qword ptr [rsi], rdi
jne G_M48351_IG38
;; size=22 bbWeight=0.25 PerfScore 1.12
G_M48351_IG28:
mov rsi, gword ptr [rsi+0x78]
mov rdi, rbx
mov rdx, r14
mov rax, 0xD1FFAB1E ; code for Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendTypeParameters(Microsoft.CSharp.RuntimeBinder.Semantics.TypeArray,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
call [rax]Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendTypeParameters(Microsoft.CSharp.RuntimeBinder.Semantics.TypeArray,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
jmp G_M48351_IG34
;; size=27 bbWeight=0.50 PerfScore 3.88
G_M48351_IG29:
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
jmp G_M48351_IG34
;; size=30 bbWeight=0.50 PerfScore 6.25
G_M48351_IG30:
mov rsi, 0xD1FFAB1E ; const ptr
cmp r15, gword ptr [rsi]
je G_M48351_IG33
mov rsi, gword ptr [r15+0x10]
mov rdi, rbx
xor rdx, rdx
mov rax, 0xD1FFAB1E ; code for Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendParentCore(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
call [rax]Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendParentCore(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext):this
mov rdx, gword ptr [r15+0x08]
mov rsi, 0xD1FFAB1E ; const ptr
mov r13, gword ptr [rsi]
- mov esi, 121
- cmp esi, 16
- jbe G_M48351_IG39
cmp rdx, gword ptr [r13+0x90]
je SHORT G_M48351_IG31
mov rsi, gword ptr [rdx+0x08]
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
test rsi, rsi
je G_M48351_IG34
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
jmp G_M48351_IG34
- ;; size=123 bbWeight=0.50 PerfScore 17.75
+ ;; size=109 bbWeight=0.50 PerfScore 17.00
G_M48351_IG31:
mov rdi, gword ptr [rbx]
mov rsi, 0xD1FFAB1E
mov rbx, gword ptr [rdi+0x08]
mov r15d, dword ptr [rdi+0x18]
lea r14d, [r15+0x04]
cmp dword ptr [rbx+0x08], r14d
jae SHORT G_M48351_IG32
mov edx, 4
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:AppendWithExpansion(byref,int):this
call [rax]System.Text.StringBuilder:AppendWithExpansion(byref,int):this
jmp SHORT G_M48351_IG34
;; size=50 bbWeight=0.50 PerfScore 8.12
G_M48351_IG32:
movsxd rax, r15d
lea rax, bword ptr [rbx+2*rax+0x10]
mov rcx, 0xD1FFAB1E
mov qword ptr [rax], rcx
mov dword ptr [rdi+0x18], r14d
jmp SHORT G_M48351_IG34
;; size=27 bbWeight=0.50 PerfScore 2.75
G_M48351_IG33:
mov rdi, 0xD1FFAB1E ; Microsoft.CSharp.RuntimeBinder.Errors.MessageID
call CORINFO_HELP_NEWSFAST
mov dword ptr [rax+0x08], 12
mov rdi, rax
mov rax, 0xD1FFAB1E ; code for System.Enum:ToString():System.String:this
call [rax]System.Enum:ToString():System.String:this
mov rsi, rax
mov rdi, rsi
mov rax, 0xD1FFAB1E ; code for System.SR:GetResourceString(System.String,System.String):System.String
call [rax]System.SR:GetResourceString(System.String,System.String):System.String
mov rsi, rax
mov rdi, gword ptr [rbx]
cmp byte ptr [rdi], dil
test rsi, rsi
je SHORT G_M48351_IG34
mov edx, dword ptr [rsi+0x08]
add rsi, 12
mov rax, 0xD1FFAB1E ; code for System.Text.StringBuilder:Append(byref,int):this
call [rax]System.Text.StringBuilder:Append(byref,int):this
;; size=88 bbWeight=0.50 PerfScore 10.75
G_M48351_IG34:
nop
;; size=1 bbWeight=1 PerfScore 0.25
G_M48351_IG35:
add rsp, 8
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
;; size=15 bbWeight=1 PerfScore 4.25
G_M48351_IG36:
mov rsi, r15
mov rax, 0xD1FFAB1E ; code for CORINFO_HELP_CHKCASTCLASS
call [rax]CORINFO_HELP_CHKCASTCLASS
int3
;; size=16 bbWeight=0 PerfScore 0.00
G_M48351_IG37:
mov rsi, r15
mov rax, 0xD1FFAB1E ; code for CORINFO_HELP_CHKCASTCLASS
call [rax]CORINFO_HELP_CHKCASTCLASS
int3
;; size=16 bbWeight=0 PerfScore 0.00
G_M48351_IG38:
mov rsi, r15
mov rax, 0xD1FFAB1E ; code for CORINFO_HELP_CHKCASTCLASS
call [rax]CORINFO_HELP_CHKCASTCLASS
int3
;; size=16 bbWeight=0 PerfScore 0.00
-G_M48351_IG39:
- call CORINFO_HELP_RNGCHKFAIL
- int3
- ;; size=6 bbWeight=0 PerfScore 0.00
RWD00 dd G_M48351_IG30 - G_M48351_IG02
dd G_M48351_IG24 - G_M48351_IG02
dd G_M48351_IG15 - G_M48351_IG02
dd G_M48351_IG12 - G_M48351_IG02
dd G_M48351_IG09 - G_M48351_IG02
dd G_M48351_IG07 - G_M48351_IG02
dd G_M48351_IG04 - G_M48351_IG02
dd G_M48351_IG34 - G_M48351_IG02
-; Total bytes of code 1633, prolog size 16, PerfScore 222.55, instruction count 367, allocated bytes for code 1633 (MethodHash=9e6a4320) for method Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendSym(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext,ubyte):this (FullOpts)
+; Total bytes of code 1557, prolog size 16, PerfScore 218.80, instruction count 350, allocated bytes for code 1557 (MethodHash=9e6a4320) for method Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder:ErrAppendSym(Microsoft.CSharp.RuntimeBinder.Semantics.Symbol,Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext,ubyte):this (FullOpts)
; ============================================================ -75 (-6.64 % of base) - System.Xml.Xsl.Runtime.XsltFunctions:SystemProperty(System.Xml.XmlQualifiedName):System.Xml.XPath.XPathItem ; Assembly listing for method System.Xml.Xsl.Runtime.XsltFunctions:SystemProperty(System.Xml.XmlQualifiedName):System.Xml.XPath.XPathItem (FullOpts)
; Emitting BLENDED_CODE for X64 with AVX - Unix
; FullOpts code
; optimized code
; rbp based frame
; partially interruptible
; No PGO data
; 0 inlinees with PGO data; 39 single block inlinees; 2 inlinees without PGO data
; Final local variable assignments
;
; V00 arg0 [V00,T02] ( 6, 4.50) ref -> rbx class-hnd single-def <System.Xml.XmlQualifiedName>
; V01 loc0 [V01,T06] ( 13, 4.25) ref -> rbx class-hnd exact single-def <System.String>
;# V02 OutArgs [V02 ] ( 1, 1 ) struct ( 0) [rsp+0x00] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
; V03 tmp1 [V03,T07] ( 4, 4 ) ref -> r14 class-hnd exact single-def "NewObj constructor temp" <System.Xml.Schema.XmlAtomicValue>
; V04 tmp2 [V04,T12] ( 3, 3 ) ref -> rbx class-hnd single-def "impAppendStmt" <System.Xml.Schema.XmlSchemaSimpleType>
; V05 tmp3 [V05,T08] ( 4, 4 ) ref -> r14 class-hnd exact single-def "NewObj constructor temp" <System.Xml.Schema.XmlAtomicValue>
; V06 tmp4 [V06,T04] ( 5, 5 ) ref -> r14 class-hnd exact single-def "NewObj constructor temp" <System.Xml.Schema.XmlAtomicValue>
; V07 tmp5 [V07,T09] ( 4, 4 ) ref -> r14 class-hnd exact single-def "NewObj constructor temp" <System.Xml.Schema.XmlAtomicValue>
; V08 tmp6 [V08,T10] ( 4, 4 ) ref -> r14 class-hnd exact single-def "NewObj constructor temp" <System.Xml.Schema.XmlAtomicValue>
; V09 tmp7 [V09,T01] ( 5, 7 ) ref -> rdi class-hnd exact single-def "Inlining Arg" <System.String>
;* V10 tmp8 [V10 ] ( 0, 0 ) ref -> zero-ref "spilling varStr"
; V11 tmp9 [V11,T23] ( 2, 1 ) ubyte -> rax "Inline return value spill temp"
;* V12 tmp10 [V12 ] ( 0, 0 ) byref -> zero-ref "impAppendStmt"
;* V13 tmp11 [V13 ] ( 0, 0 ) ref -> zero-ref single-def "spilling varStr"
;* V14 tmp12 [V14 ] ( 0, 0 ) int -> zero-ref "spilling unroll qmark"
;* V15 tmp13 [V15 ] ( 0, 0 ) ref -> zero-ref single-def "spilling varStr"
;* V16 tmp14 [V16 ] ( 0, 0 ) int -> zero-ref "spilling unroll qmark"
;* V17 tmp15 [V17 ] ( 0, 0 ) ref -> zero-ref single-def "spilling varStr"
; V18 tmp16 [V18,T20] ( 2, 2 ) int -> rdi "spilling unroll qmark"
; V19 tmp17 [V19,T13] ( 3, 3 ) ref -> rbx class-hnd single-def "Inlining Arg" <System.Xml.Schema.XmlSchemaSimpleType>
; V20 tmp18 [V20,T14] ( 3, 3 ) ref -> rbx class-hnd single-def "Inlining Arg" <System.Xml.Schema.XmlSchemaSimpleType>
; V21 tmp19 [V21,T15] ( 3, 3 ) ref -> rbx class-hnd single-def "Inlining Arg" <System.Xml.Schema.XmlSchemaSimpleType>
;* V22 tmp20 [V22 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Inlining Arg" <System.String>
; V23 tmp21 [V23,T05] ( 5, 4.50) ref -> rdi single-def "spilling varStr"
; V24 tmp22 [V24,T21] ( 2, 2 ) int -> rdi "spilling unroll qmark"
;* V25 tmp23 [V25 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Inlining Arg" <System.String>
; V26 tmp24 [V26,T11] ( 5, 3 ) ref -> rdi single-def "spilling varStr"
;* V27 tmp25 [V27 ] ( 0, 0 ) int -> zero-ref "spilling unroll qmark"
; V28 tmp26 [V28,T19] ( 2, 2 ) ref -> r15 class-hnd exact single-def "dup spill" <System.Reflection.RuntimeAssembly>
; V29 tmp27 [V29,T18] ( 5, 2.50) ref -> r15
; V30 tmp28 [V30,T16] ( 3, 3 ) ref -> r15 class-hnd exact single-def "Inlining Arg" <System.String>
; V31 tmp29 [V31,T17] ( 3, 3 ) ref -> r15 class-hnd single-def "Inlining Arg" <System.Xml.Schema.XmlSchemaSimpleType>
; V32 tmp30 [V32,T00] ( 6, 7 ) ref -> r14 "Single return block return value"
; V33 cse0 [V33,T03] ( 10, 5 ) ref -> r15 multi-def "CSE #05: aggressive"
; V34 cse1 [V34,T22] ( 3, 1.50) int -> rdx "CSE #01: moderate"
; V35 rat0 [V35,T24] ( 3, 3 ) simd32 -> mm0 "ReplaceWithLclVar is creating a new local variable"
; V36 rat1 [V36,T25] ( 3, 3 ) simd16 -> mm0 "ReplaceWithLclVar is creating a new local variable"
;
; Lcl frame size = 8
G_M4951_IG01:
push rbp
push r15
push r14
push rbx
push rax
lea rbp, [rsp+0x20]
mov rbx, rdi
;; size=15 bbWeight=1 PerfScore 5.75
G_M4951_IG02:
mov rdi, gword ptr [rbx+0x08]
mov rdx, 0xD1FFAB1E ; 'http://www.w3.org/1999/XSL/Transform'
cmp rdi, rdx
je G_M4951_IG11
;; size=23 bbWeight=1 PerfScore 3.50
G_M4951_IG03:
test rdi, rdi
je SHORT G_M4951_IG04
mov edx, dword ptr [rdi+0x08]
cmp edx, 36
jne SHORT G_M4951_IG04
add edx, edx
mov rsi, 0xD1FFAB1E
add rdi, 12
mov rax, 0xD1FFAB1E ; code for System.SpanHelpers:SequenceEqual(byref,byref,ulong):ubyte
call [rax]System.SpanHelpers:SequenceEqual(byref,byref,ulong):ubyte
test eax, eax
jne G_M4951_IG11
;; size=49 bbWeight=0.50 PerfScore 4.88
G_M4951_IG04:
mov rdi, gword ptr [rbx+0x08]
test rdi, rdi
je G_M4951_IG21
;; size=13 bbWeight=0.50 PerfScore 1.62
G_M4951_IG05:
cmp dword ptr [rdi+0x08], 30
jne G_M4951_IG21
;; size=10 bbWeight=0.25 PerfScore 1.00
G_M4951_IG06:
vmovups ymm0, ymmword ptr [rdi+0x0C]
vpxor ymm0, ymm0, ymmword ptr [reloc @RWD00]
vmovups ymm1, ymmword ptr [rdi+0x28]
vpxor ymm1, ymm1, ymmword ptr [reloc @RWD32]
vpor ymm0, ymm1, ymm0
vptest ymm0, ymm0
sete dil
movzx rdi, dil
test edi, edi
je G_M4951_IG21
mov rdi, gword ptr [rbx+0x10]
test rdi, rdi
je G_M4951_IG21
;; size=64 bbWeight=0.50 PerfScore 12.54
G_M4951_IG07:
cmp dword ptr [rdi+0x08], 7
jne G_M4951_IG21
;; size=10 bbWeight=0.25 PerfScore 1.00
G_M4951_IG08:
mov rax, 0xD1FFAB1E
xor rax, qword ptr [rdi+0x0C]
mov rcx, 0xD1FFAB1E
xor rcx, qword ptr [rdi+0x12]
or rax, rcx
jne G_M4951_IG21
;; size=37 bbWeight=0.12 PerfScore 0.97
G_M4951_IG09:
mov rdi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rdi]
- mov edi, 55
- cmp edi, 12
- jbe G_M4951_IG25
mov rbx, gword ptr [r15+0x70]
mov rdi, 0xD1FFAB1E ; 'System.Xml.Xsl.Runtime.XsltLibrary'
call System.RuntimeTypeHandle:GetAssemblyIfExists(System.RuntimeType):System.Reflection.RuntimeAssembly
mov r15, rax
test r15, r15
jne SHORT G_M4951_IG10
mov rdi, 0xD1FFAB1E ; 'System.Xml.Xsl.Runtime.XsltLibrary'
mov rax, 0xD1FFAB1E ; code for System.RuntimeTypeHandle:<GetAssembly>g__GetAssemblyWorker|33_0(System.RuntimeType):System.Reflection.RuntimeAssembly
call [rax]System.RuntimeTypeHandle:<GetAssembly>g__GetAssemblyWorker|33_0(System.RuntimeType):System.Reflection.RuntimeAssembly
mov r15, rax
- ;; size=79 bbWeight=0.50 PerfScore 6.12
+ ;; size=65 bbWeight=0.50 PerfScore 5.38
G_M4951_IG10:
mov rdi, 0xD1FFAB1E ; System.Xml.Schema.XmlAtomicValue
call CORINFO_HELP_NEWSFAST
mov r14, rax
mov rdi, r15
mov rax, qword ptr [r15]
mov rax, qword ptr [rax+0x48]
call [rax+0x20]System.Reflection.Assembly:get_ImageRuntimeVersion():System.String:this
mov r15, rax
mov rdi, rbx
mov rsi, 0xD1FFAB1E ; 'xmlType'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
mov rdi, r15
mov rsi, 0xD1FFAB1E ; 'value'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
lea rdi, bword ptr [r14+0x08]
mov rsi, rbx
call CORINFO_HELP_ASSIGN_REF
lea rdi, bword ptr [r14+0x10]
mov rsi, r15
call CORINFO_HELP_ASSIGN_REF
jmp G_M4951_IG23
;; size=113 bbWeight=0.50 PerfScore 11.00
G_M4951_IG11:
mov rbx, gword ptr [rbx+0x10]
test rbx, rbx
je SHORT G_M4951_IG13
;; size=9 bbWeight=0.50 PerfScore 1.62
G_M4951_IG12:
cmp dword ptr [rbx+0x08], 7
je G_M4951_IG18
;; size=10 bbWeight=0.25 PerfScore 1.00
G_M4951_IG13:
test rbx, rbx
je G_M4951_IG20
;; size=9 bbWeight=0.50 PerfScore 0.62
G_M4951_IG14:
cmp dword ptr [rbx+0x08], 6
jne G_M4951_IG20
;; size=10 bbWeight=0.25 PerfScore 1.00
G_M4951_IG15:
mov rdi, 0xD1FFAB1E
xor rdi, qword ptr [rbx+0x0C]
mov eax, dword ptr [rbx+0x14]
xor eax, 0xD1FFAB1E
or rdi, rax
je G_M4951_IG22
;; size=31 bbWeight=0.12 PerfScore 0.84
G_M4951_IG16:
cmp dword ptr [rbx+0x08], 10
jne G_M4951_IG21
;; size=10 bbWeight=0.25 PerfScore 1.00
G_M4951_IG17:
vmovups xmm0, xmmword ptr [rbx+0x0C]
vpxor xmm0, xmm0, xmmword ptr [reloc @RWD64]
vmovups xmm1, xmmword ptr [rbx+0x10]
vpxor xmm1, xmm1, xmmword ptr [reloc @RWD80]
vpor xmm0, xmm1, xmm0
vptest xmm0, xmm0
sete dil
movzx rdi, dil
test edi, edi
je G_M4951_IG21
mov rdi, 0xD1FFAB1E ; System.Xml.Schema.XmlAtomicValue
call CORINFO_HELP_NEWSFAST
mov r14, rax
mov rdi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rdi]
- mov edi, 55
- cmp edi, 12
- jbe G_M4951_IG25
mov rbx, gword ptr [r15+0x70]
mov rdi, rbx
mov rsi, 0xD1FFAB1E ; 'xmlType'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
mov rdi, 0xD1FFAB1E ; 'http://www.microsoft.com'
mov rsi, 0xD1FFAB1E ; 'value'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
lea rdi, bword ptr [r14+0x08]
mov rsi, rbx
call CORINFO_HELP_ASSIGN_REF
mov rax, 0xD1FFAB1E ; 'http://www.microsoft.com'
mov gword ptr [r14+0x10], rax
jmp G_M4951_IG23
- ;; size=188 bbWeight=0.50 PerfScore 18.79
+ ;; size=174 bbWeight=0.50 PerfScore 18.04
G_M4951_IG18:
mov rdi, 0xD1FFAB1E
xor rdi, qword ptr [rbx+0x0C]
mov rax, 0xD1FFAB1E
xor rax, qword ptr [rbx+0x12]
or rdi, rax
jne G_M4951_IG14
;; size=37 bbWeight=0.12 PerfScore 0.97
G_M4951_IG19:
mov rdi, 0xD1FFAB1E ; System.Xml.Schema.XmlAtomicValue
call CORINFO_HELP_NEWSFAST
mov r14, rax
mov rdi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rdi]
- mov edi, 55
- cmp edi, 16
- jbe G_M4951_IG25
mov rbx, gword ptr [r15+0x90]
mov rdi, rbx
mov rsi, 0xD1FFAB1E ; 'xmlType'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
lea rdi, bword ptr [r14+0x08]
mov rsi, rbx
call CORINFO_HELP_ASSIGN_REF
mov dword ptr [r14+0x20], 14
mov rdi, 0xD1FFAB1E
mov qword ptr [r14+0x28], rdi
jmp G_M4951_IG23
- ;; size=116 bbWeight=0.50 PerfScore 8.50
+ ;; size=102 bbWeight=0.50 PerfScore 7.75
G_M4951_IG20:
test rbx, rbx
jne G_M4951_IG16
;; size=9 bbWeight=0.50 PerfScore 0.62
G_M4951_IG21:
mov rdi, 0xD1FFAB1E ; System.Xml.Schema.XmlAtomicValue
call CORINFO_HELP_NEWSFAST
mov r14, rax
mov rdi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rdi]
- mov edi, 55
- cmp edi, 12
- jbe G_M4951_IG25
mov r15, gword ptr [r15+0x70]
mov rdi, r15
mov rsi, 0xD1FFAB1E ; 'xmlType'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
mov rdi, 0xD1FFAB1E ; ''
mov rsi, 0xD1FFAB1E ; 'value'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
lea rdi, bword ptr [r14+0x08]
mov rsi, r15
call CORINFO_HELP_ASSIGN_REF
mov rdi, 0xD1FFAB1E ; ''
mov gword ptr [r14+0x10], rdi
- jmp G_M4951_IG23
- ;; size=137 bbWeight=0.50 PerfScore 9.88
+ jmp SHORT G_M4951_IG23
+ ;; size=120 bbWeight=0.50 PerfScore 9.12
G_M4951_IG22:
mov rdi, 0xD1FFAB1E ; System.Xml.Schema.XmlAtomicValue
call CORINFO_HELP_NEWSFAST
mov r14, rax
mov rdi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rdi]
- mov edi, 55
- cmp edi, 12
- jbe SHORT G_M4951_IG25
mov rbx, gword ptr [r15+0x70]
mov rdi, rbx
mov rsi, 0xD1FFAB1E ; 'xmlType'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
mov rdi, 0xD1FFAB1E ; 'Microsoft'
mov rsi, 0xD1FFAB1E ; 'value'
mov rax, 0xD1FFAB1E ; code for System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
call [rax]System.ArgumentNullException:ThrowIfNull(System.Object,System.String)
lea rdi, bword ptr [r14+0x08]
mov rsi, rbx
call CORINFO_HELP_ASSIGN_REF
mov rdi, 0xD1FFAB1E ; 'Microsoft'
mov gword ptr [r14+0x10], rdi
- ;; size=128 bbWeight=0.50 PerfScore 8.88
+ ;; size=118 bbWeight=0.50 PerfScore 8.12
G_M4951_IG23:
mov rax, r14
;; size=3 bbWeight=1 PerfScore 0.25
G_M4951_IG24:
vzeroupper
add rsp, 8
pop rbx
pop r14
pop r15
pop rbp
ret
;; size=14 bbWeight=1 PerfScore 4.25
-G_M4951_IG25:
- call CORINFO_HELP_RNGCHKFAIL
- int3
- ;; size=6 bbWeight=0 PerfScore 0.00
RWD00 dq 003A006E00720075h, 0065006800630073h, 002D00730061006Dh, 007200630069006Dh
RWD32 dq 0073006F00720063h, 002D00740066006Fh, 003A006D006F0063h, 0074006C00730078h
RWD64 dq 0064006E00650076h, 0075002D0072006Fh
RWD80 dq 0072006F0064006Eh, 006C00720075002Dh
-; Total bytes of code 1130, prolog size 12, PerfScore 106.61, instruction count 220, allocated bytes for code 1130 (MethodHash=e702eca8) for method System.Xml.Xsl.Runtime.XsltFunctions:SystemProperty(System.Xml.XmlQualifiedName):System.Xml.XPath.XPathItem (FullOpts)
+; Total bytes of code 1055, prolog size 12, PerfScore 102.86, instruction count 203, allocated bytes for code 1055 (MethodHash=e702eca8) for method System.Xml.Xsl.Runtime.XsltFunctions:SystemProperty(System.Xml.XmlQualifiedName):System.Xml.XPath.XPathItem (FullOpts)
; ============================================================ -62 (-13.16 % of base) - System.Net.Mime.MimePart:set_TransferEncoding(int):this ; Assembly listing for method System.Net.Mime.MimePart:set_TransferEncoding(int):this (FullOpts)
; Emitting BLENDED_CODE for X64 with AVX - Unix
; FullOpts code
; optimized code
; rbp based frame
; partially interruptible
; No PGO data
; 0 inlinees with PGO data; 4 single block inlinees; 4 inlinees without PGO data
; Final local variable assignments
;
; V00 this [V00,T01] ( 6, 4 ) ref -> rdi this class-hnd single-def <System.Net.Mime.MimePart>
; V01 arg1 [V01,T00] ( 7, 4.50) int -> rbx single-def
;# V02 OutArgs [V02 ] ( 1, 1 ) struct ( 0) [rsp+0x00] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
; V03 tmp1 [V03,T07] ( 3, 0 ) ref -> r15 class-hnd exact single-def "Single-def Box Helper" <System.Net.Mime.TransferEncoding>
; V04 tmp2 [V04,T09] ( 2, 0 ) ref -> r14 class-hnd exact single-def "impImportAndPushBox" <System.String>
; V05 tmp3 [V05,T08] ( 3, 0 ) ref -> rbx class-hnd exact single-def "NewObj constructor temp" <System.NotSupportedException>
;* V06 tmp4 [V06 ] ( 0, 0 ) ref -> zero-ref class-hnd "impAppendStmt" <System.Collections.Specialized.NameValueCollection>
;* V07 tmp5 [V07 ] ( 0, 0 ) ref -> zero-ref class-hnd "impAppendStmt" <System.Collections.Specialized.NameValueCollection>
;* V08 tmp6 [V08 ] ( 0, 0 ) ref -> zero-ref class-hnd "impAppendStmt" <System.Collections.Specialized.NameValueCollection>
;* V09 tmp7 [V09 ] ( 0, 0 ) ref -> zero-ref class-hnd "impAppendStmt" <System.Collections.Specialized.NameValueCollection>
;* V10 tmp8 [V10 ] ( 0, 0 ) ref -> zero-ref class-hnd "Inline return value spill temp" <System.String>
;* V11 tmp9 [V11 ] ( 0, 0 ) ref -> zero-ref class-hnd "Inline return value spill temp" <System.String>
;* V12 tmp10 [V12 ] ( 0, 0 ) ref -> zero-ref class-hnd "Inline return value spill temp" <System.String>
;* V13 tmp11 [V13 ] ( 0, 0 ) ref -> zero-ref class-hnd "Inline return value spill temp" <System.String>
; V14 tmp12 [V14,T10] ( 2, 0 ) ref -> rsi single-def "argument with side effect"
; V15 tmp13 [V15,T03] ( 3, 3 ) ref -> rax single-def "argument with side effect"
; V16 tmp14 [V16,T04] ( 3, 3 ) ref -> rax single-def "argument with side effect"
; V17 tmp15 [V17,T05] ( 3, 3 ) ref -> rax single-def "argument with side effect"
; V18 tmp16 [V18,T06] ( 3, 3 ) ref -> rax single-def "argument with side effect"
; V19 cse0 [V19,T02] ( 8, 4 ) ref -> r15 multi-def "CSE #01: aggressive"
;
; Lcl frame size = 8
G_M56664_IG01:
push rbp
push r15
push r14
push rbx
push rax
lea rbp, [rsp+0x20]
mov ebx, esi
;; size=14 bbWeight=1 PerfScore 5.75
G_M56664_IG02:
cmp ebx, 1
je G_M56664_IG09
;; size=9 bbWeight=1 PerfScore 1.25
G_M56664_IG03:
test ebx, ebx
je G_M56664_IG07
cmp ebx, 2
je SHORT G_M56664_IG05
cmp ebx, 3
jne G_M56664_IG11
mov rax, 0xD1FFAB1E ; code for System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
call [rax]System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
mov rdi, rax
mov rsi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rsi]
- mov esi, 33
- cmp esi, 7
- jbe G_M56664_IG12
mov rsi, gword ptr [r15+0x80]
mov rdx, 0xD1FFAB1E ; '8bit'
mov rax, qword ptr [rax]
mov rax, qword ptr [rax+0x50]
- ;; size=88 bbWeight=0.50 PerfScore 8.62
+ ;; size=74 bbWeight=0.50 PerfScore 7.88
G_M56664_IG04:
add rsp, 8
pop rbx
pop r14
pop r15
pop rbp
tail.jmp [rax+0x08]System.Collections.Specialized.NameValueCollection:Set(System.String,System.String):this
;; size=14 bbWeight=0.50 PerfScore 2.12
G_M56664_IG05:
mov rax, 0xD1FFAB1E ; code for System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
call [rax]System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
mov rdi, rax
mov rsi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rsi]
- mov esi, 33
- cmp esi, 7
- jbe G_M56664_IG12
mov rsi, gword ptr [r15+0x80]
mov rdx, 0xD1FFAB1E ; '7bit'
mov rax, qword ptr [rax]
mov rax, qword ptr [rax+0x50]
- ;; size=66 bbWeight=0.50 PerfScore 6.75
+ ;; size=52 bbWeight=0.50 PerfScore 6.00
G_M56664_IG06:
add rsp, 8
pop rbx
pop r14
pop r15
pop rbp
tail.jmp [rax+0x08]System.Collections.Specialized.NameValueCollection:Set(System.String,System.String):this
;; size=14 bbWeight=0.50 PerfScore 2.12
G_M56664_IG07:
mov rax, 0xD1FFAB1E ; code for System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
call [rax]System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
mov rdi, rax
mov rsi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rsi]
- mov esi, 33
- cmp esi, 7
- jbe G_M56664_IG12
mov rsi, gword ptr [r15+0x80]
mov rdx, 0xD1FFAB1E ; 'quoted-printable'
mov rax, qword ptr [rax]
mov rax, qword ptr [rax+0x50]
- ;; size=66 bbWeight=0.50 PerfScore 6.75
+ ;; size=52 bbWeight=0.50 PerfScore 6.00
G_M56664_IG08:
add rsp, 8
pop rbx
pop r14
pop r15
pop rbp
tail.jmp [rax+0x08]System.Collections.Specialized.NameValueCollection:Set(System.String,System.String):this
;; size=14 bbWeight=0.50 PerfScore 2.12
G_M56664_IG09:
mov rax, 0xD1FFAB1E ; code for System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
call [rax]System.Net.Mime.MimeBasePart:get_Headers():System.Collections.Specialized.NameValueCollection:this
mov rdi, rax
mov rsi, 0xD1FFAB1E ; const ptr
mov r15, gword ptr [rsi]
- mov esi, 33
- cmp esi, 7
- jbe G_M56664_IG12
mov rsi, gword ptr [r15+0x80]
mov rdx, 0xD1FFAB1E ; 'base64'
mov rax, qword ptr [rax]
mov rax, qword ptr [rax+0x50]
- ;; size=66 bbWeight=0.50 PerfScore 6.75
+ ;; size=52 bbWeight=0.50 PerfScore 6.00
G_M56664_IG10:
add rsp, 8
pop rbx
pop r14
pop r15
pop rbp
tail.jmp [rax+0x08]System.Collections.Specialized.NameValueCollection:Set(System.String,System.String):this
;; size=14 bbWeight=0.50 PerfScore 2.12
G_M56664_IG11:
mov rdi, 0xD1FFAB1E ; System.Net.Mime.TransferEncoding
call CORINFO_HELP_NEWSFAST
mov r15, rax
mov rax, 0xD1FFAB1E ; code for System.SR:get_MimeTransferEncodingNotSupported():System.String
call [rax]System.SR:get_MimeTransferEncodingNotSupported():System.String
mov r14, rax
mov dword ptr [r15+0x08], ebx
mov rdi, 0xD1FFAB1E ; System.NotSupportedException
call CORINFO_HELP_NEWSFAST
mov rbx, rax
mov rsi, r15
mov rdi, r14
mov rax, 0xD1FFAB1E ; code for System.SR:Format(System.String,System.Object):System.String
call [rax]System.SR:Format(System.String,System.Object):System.String
mov rsi, rax
mov rdi, rbx
mov rax, 0xD1FFAB1E ; code for System.NotSupportedException:.ctor(System.String):this
call [rax]System.NotSupportedException:.ctor(System.String):this
mov rdi, rbx
call CORINFO_HELP_THROW
int3
;; size=100 bbWeight=0 PerfScore 0.00
-G_M56664_IG12:
- call CORINFO_HELP_RNGCHKFAIL
- int3
- ;; size=6 bbWeight=0 PerfScore 0.00
-; Total bytes of code 471, prolog size 12, PerfScore 44.38, instruction count 110, allocated bytes for code 471 (MethodHash=ed4122a7) for method System.Net.Mime.MimePart:set_TransferEncoding(int):this (FullOpts)
+; Total bytes of code 409, prolog size 12, PerfScore 41.38, instruction count 96, allocated bytes for code 409 (MethodHash=ed4122a7) for method System.Net.Mime.MimePart:set_TransferEncoding(int):this (FullOpts)
; ============================================================ Note: some changes were skipped as they were too large to fit into a comment. Larger list of diffs: https://gist.github.com/MihuBot/a9741aa3f9093b27c8985cfcd6ac261f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Job completed in 20 minutes 16 seconds.
dotnet/runtime#108955
Diffs
Diffs
Artifacts:
The text was updated successfully, but these errors were encountered: