Untitled Diff

创建于 差异永不过期
85 删除
200 行
99 添加
213 行
; Assembly listing for method System.Collections.Generic.SegmentedList`1[Vector`1][System.Numerics.Vector`1[System.Single]]:EnsureCapacity(int):this
; Assembly listing for method System.Collections.Generic.SegmentedList`1[Vector`1][System.Numerics.Vector`1[System.Single]]:EnsureCapacity(int):this
; Emitting BLENDED_CODE for X64 CPU with AVX - Windows
; Emitting BLENDED_CODE for X64 CPU with AVX - Windows
; optimized code
; optimized code
; rsp based frame
; rsp based frame
; fully interruptible
; fully interruptible
; Final local variable assignments
; Final local variable assignments
;
;
; V00 this [V00,T00] ( 22, 31 ) ref -> rsi this class-hnd
; V00 this [V00,T01] ( 21, 20 ) ref -> rsi this class-hnd
; V01 arg1 [V01,T06] ( 8, 9 ) int -> rdi
; V01 arg1 [V01,T06] ( 8, 9 ) int -> rdi
; V02 loc0 [V02,T04] ( 10, 15.50) int -> rdx
; V02 loc0 [V02,T04] ( 10, 15.50) int -> rdx
; V03 loc1 [V03,T12] ( 4, 2 ) ref -> rbx class-hnd exact
; V03 loc1 [V03,T16] ( 4, 2 ) ref -> rbx class-hnd exact
; V04 loc2 [V04,T16] ( 3, 1.50) int -> rbx
; V04 loc2 [V04,T20] ( 3, 1.50) int -> rbx
; V05 loc3 [V05,T07] ( 6, 10 ) int -> rdi
; V05 loc3 [V05,T07] ( 6, 10 ) int -> rdi
; V06 loc4 [V06,T05] ( 6, 13.50) int -> rdx
; V06 loc4 [V06,T05] ( 6, 13.50) int -> rdx
; V07 loc5 [V07,T15] ( 3, 1.50) ref -> r14 class-hnd exact
; V07 loc5 [V07,T19] ( 3, 1.50) ref -> r14 class-hnd exact
; V08 loc6 [V08,T01] ( 6, 17 ) int -> rbx
; V08 loc6 [V08,T02] ( 7, 21 ) int -> rbx
; V09 OutArgs [V09 ] ( 1, 1 ) lclBlk (40) [rsp+0x00] "OutgoingArgSpace"
; V09 OutArgs [V09 ] ( 1, 1 ) lclBlk (40) [rsp+0x00] "OutgoingArgSpace"
; V10 tmp1 [V10,T17] ( 3, 1.50) int -> rdx
; V10 tmp1 [V10,T00] ( 3, 24 ) ref -> r12 class-hnd "Strict ordering of exceptions for Array store"
; V11 tmp2 [V11,T03] ( 2, 16 ) ref -> rax class-hnd exact "Strict ordering of exceptions for Array store"
; V12 tmp3 [V12,T21] ( 3, 1.50) int -> rdx
; V11 tmp2 [V11,T18] ( 3, 1.50) int -> rbp "Inline return value spill temp"
; V13 tmp4 [V13,T22] ( 3, 1.50) int -> rbp "Inline return value spill temp"
; V12 tmp3 [V12,T11] ( 3, 3 ) int -> rbp "Inlining Arg"
; V14 tmp5 [V14,T15] ( 3, 3 ) int -> rbp "Inlining Arg"
; V13 tmp4 [V13,T10] ( 3, 3 ) ref -> r8 "arr expr"
; V15 tmp6 [V15,T13] ( 3, 3 ) ref -> r8 "arr expr"
; V14 tmp5 [V14,T14] ( 2, 2 ) ref -> r8 "argument with side effect"
; V16 tmp7 [V16,T18] ( 2, 2 ) ref -> r8 "argument with side effect"
; V15 tmp6 [V15,T02] ( 2, 16 ) ref -> r8 "argument with side effect"
; V17 tmp8 [V17,T14] ( 3, 3 ) ref -> rdx "arr expr"
; V18 cse0 [V18,T23] ( 3, 1.50) int -> rdx "CSE - moderate"
; V16 tmp7 [V16,T03] ( 2, 16 ) ref -> rbp "argument with side effect"
; V19 cse1 [V19,T10] ( 2, 4.50) long -> r15 "CSE - aggressive"
; V20 cse2 [V20,T08] ( 3, 5 ) int -> r14 "CSE - aggressive"
; V17 cse0 [V17,T19] ( 3, 1.50) int -> rdx "CSE - moderate"
; V21 cse3 [V21,T09] ( 2, 4.50) ref -> rbp "CSE - aggressive"
; V18 cse1 [V18,T08] ( 6, 4 ) int -> rbp "CSE - aggressive"
; V22 cse4 [V22,T11] ( 6, 4 ) int -> rbp "CSE - moderate"
; V19 cse2 [V19,T13] ( 4, 2 ) ref -> rbp "CSE - moderate"
; V23 cse5 [V23,T17] ( 4, 2 ) ref -> rbp "CSE - conservative"
; V20 cse3 [V20,T09] ( 4, 3 ) int -> rbx "CSE - moderate"
; V24 cse6 [V24,T12] ( 4, 3 ) int -> rbx "CSE - moderate"
; V21 cse4 [V21,T20] ( 3, 1.50) int -> rcx "CSE - conservative"
; V25 cse7 [V25,T24] ( 3, 1.50) int -> rcx "CSE - conservative"
;
;
; Lcl frame size = 48
; Lcl frame size = 48


G_M60485_IG01:
G_M60485_IG01:
push r15
push r14
push r14
push r12
push rdi
push rdi
push rsi
push rsi
push rbp
push rbp
push rbx
push rbx
sub rsp, 48
sub rsp, 48
mov rsi, rcx
mov rsi, rcx
mov edi, edx
mov edi, edx
;; bbWeight=1 PerfScore 5.75
;; bbWeight=1 PerfScore 7.75
G_M60485_IG02:
G_M60485_IG02:
mov ebx, dword ptr [rsi+28]
mov ebx, dword ptr [rsi+28]
mov ebp, dword ptr [rsi+16]
mov ebp, dword ptr [rsi+16]
cmp ebx, ebp
cmp ebx, ebp
jge G_M60485_IG13
jge G_M60485_IG13
;; bbWeight=1 PerfScore 5.25
;; bbWeight=1 PerfScore 5.25
G_M60485_IG03:
G_M60485_IG03:
cmp gword ptr [rsi+8], 0
cmp gword ptr [rsi+8], 0
jne SHORT G_M60485_IG04
jne SHORT G_M60485_IG04
lea edx, [rdi+rbp-1]
lea edx, [rdi+rbp-1]
mov ecx, dword ptr [rsi+20]
mov ecx, dword ptr [rsi+20]
sar edx, cl
sar edx, cl
movsxd rdx, edx
movsxd rdx, edx
mov rcx, 0xD1FFAB1E
mov rcx, 0xD1FFAB1E
call CORINFO_HELP_NEWARR_1_OBJ
call CORINFO_HELP_NEWARR_1_OBJ
lea rcx, bword ptr [rsi+8]
lea rcx, bword ptr [rsi+8]
mov rdx, rax
mov rdx, rax
call CORINFO_HELP_ASSIGN_REF
call CORINFO_HELP_ASSIGN_REF
;; bbWeight=0.50 PerfScore 5.63
;; bbWeight=0.50 PerfScore 5.63
G_M60485_IG04:
G_M60485_IG04:
mov edx, ebp
mov edx, ebp
cmp edi, ebp
cmp edi, ebp
jge SHORT G_M60485_IG11
jge SHORT G_M60485_IG11
test ebx, ebx
test ebx, ebx
je SHORT G_M60485_IG05
je SHORT G_M60485_IG05
shl ebx, 1
shl ebx, 1
mov edx, ebx
mov edx, ebx
jmp SHORT G_M60485_IG06
jmp SHORT G_M60485_IG06
;; bbWeight=0.50 PerfScore 2.75
;; bbWeight=0.50 PerfScore 2.75
G_M60485_IG05:
G_M60485_IG05:
mov edx, 2
mov edx, 2
;; bbWeight=0.50 PerfScore 0.13
;; bbWeight=0.50 PerfScore 0.13
G_M60485_IG06:
G_M60485_IG06:
cmp edx, edi
cmp edx, edi
jge SHORT G_M60485_IG08
jge SHORT G_M60485_IG08
;; bbWeight=0.50 PerfScore 0.63
;; bbWeight=0.50 PerfScore 0.63
G_M60485_IG07:
G_M60485_IG07:
shl edx, 1
shl edx, 1
cmp edx, edi
cmp edx, edi
jl SHORT G_M60485_IG07
jl SHORT G_M60485_IG07
;; bbWeight=4 PerfScore 7.00
;; bbWeight=4 PerfScore 7.00
G_M60485_IG08:
G_M60485_IG08:
cmp edx, ebp
cmp edx, ebp
jle SHORT G_M60485_IG09
jle SHORT G_M60485_IG09
jmp SHORT G_M60485_IG10
jmp SHORT G_M60485_IG10
;; bbWeight=0.50 PerfScore 1.63
;; bbWeight=0.50 PerfScore 1.63
G_M60485_IG09:
G_M60485_IG09:
mov ebp, edx
mov ebp, edx
;; bbWeight=0.50 PerfScore 0.13
;; bbWeight=0.50 PerfScore 0.13
G_M60485_IG10:
G_M60485_IG10:
mov edx, ebp
mov edx, ebp
;; bbWeight=0.50 PerfScore 0.13
;; bbWeight=0.50 PerfScore 0.13