stp_unwind

Creato Il diff non scade mai
21 rimozioni
95 linee
20 aggiunte
93 linee
; Assembly listing for method System.Collections.IndexerSet`1[System.__Canon]:Span():System.__Canon:this (FullOpts)
; Assembly listing for method System.Collections.IndexerSet`1[System.__Canon]:Span():System.__Canon:this (FullOpts)
; Emitting BLENDED_CODE for generic ARM64 - Windows
; Emitting BLENDED_CODE for generic ARM64 - Windows
; FullOpts code
; FullOpts code
; optimized code
; optimized code
; fp based frame
; fp based frame
; fully interruptible
; fully interruptible
; No PGO data
; No PGO data
; invoked as altjit
; invoked as altjit
; Final local variable assignments
; Final local variable assignments
;
;
; V00 this [V00,T01] ( 4, 4 ) ref -> x19 this class-hnd single-def <System.Collections.IndexerSet`1[System.__Canon]>
; V00 this [V00,T01] ( 4, 4 ) ref -> x19 this class-hnd single-def <System.Collections.IndexerSet`1[System.__Canon]>
;* V01 loc0 [V01,T06] ( 0, 0 ) ref -> zero-ref ld-addr-op class-hnd single-def <System.__Canon>
;* V01 loc0 [V01,T06] ( 0, 0 ) ref -> zero-ref ld-addr-op class-hnd single-def <System.__Canon>
; V02 loc1 [V02 ] ( 5, 14 ) struct (16) [fp+10H] do-not-enreg[XS] must-init addr-exposed ld-addr-op <System.Span`1[System.__Canon]>
; V02 loc1 [V02 ] ( 5, 14 ) struct (16) [fp+10H] do-not-enreg[XS] must-init addr-exposed ld-addr-op <System.Span`1[System.__Canon]>
; V03 loc2 [V03,T00] ( 6, 21 ) int -> x0
; V03 loc2 [V03,T00] ( 6, 21 ) int -> x0
;# V04 OutArgs [V04 ] ( 1, 1 ) struct ( 0) [sp+00H] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
;# V04 OutArgs [V04 ] ( 1, 1 ) struct ( 0) [sp+00H] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
;* V05 tmp1 [V05 ] ( 0, 0 ) long -> zero-ref "spilling helperCall"
;* V05 tmp1 [V05 ] ( 0, 0 ) long -> zero-ref "spilling helperCall"
; V06 tmp2 [V06 ] ( 2, 5 ) byref -> [fp+10H] do-not-enreg[X] addr-exposed "field V02._reference (fldOffset=0x0)" P-DEP
; V06 tmp2 [V06 ] ( 2, 5 ) byref -> [fp+10H] do-not-enreg[X] addr-exposed "field V02._reference (fldOffset=0x0)" P-DEP
; V07 tmp3 [V07 ] ( 4, 10 ) int -> [fp+18H] do-not-enreg[X] addr-exposed "field V02._length (fldOffset=0x8)" P-DEP
; V07 tmp3 [V07 ] ( 4, 10 ) int -> [fp+18H] do-not-enreg[X] addr-exposed "field V02._length (fldOffset=0x8)" P-DEP
; V08 tmp4 [V08,T05] ( 2, 4 ) long -> x1 "argument with side effect"
; V08 tmp4 [V08,T05] ( 2, 4 ) long -> x1 "argument with side effect"
; V09 rat0 [V09,T03] ( 3, 4.40) long -> x0 "Spilling to split statement for tree"
; V09 rat0 [V09,T03] ( 3, 4.40) long -> x0 "Spilling to split statement for tree"
; V10 rat1 [V10,T04] ( 3, 4 ) long -> x1 "runtime lookup"
; V10 rat1 [V10,T04] ( 3, 4 ) long -> x1 "runtime lookup"
; V11 rat2 [V11,T02] ( 3, 5.60) long -> x1 "fgMakeTemp is creating a new local variable"
; V11 rat2 [V11,T02] ( 3, 5.60) long -> x1 "fgMakeTemp is creating a new local variable"
;
;
; Lcl frame size = 24
; Lcl frame size = 24


G_M37783_IG01: ;; offset=0000H
G_M37783_IG01: ;; offset=0000H
stp fp, lr, [sp, #-0x30]!
stp fp, lr, [sp, #-0x30]!
str x19, [sp, #0x28]
str x19, [sp, #0x28]
mov fp, sp
mov fp, sp
str xzr, [fp, #0x10] // [V02 loc1]
stp xzr, xzr, [fp, #0x10] // [V02 loc1], [V02 loc1+0x08]
str xzr, [fp, #0x18] // [V02 loc1+0x08]
str x0, [fp, #0x20]
str x0, [fp, #0x20]
mov x19, x0
mov x19, x0
;; size=28 bbWeight=1 PerfScore 6.00
;; size=24 bbWeight=1 PerfScore 5.00
G_M37783_IG02: ;; offset=001CH
G_M37783_IG02: ;; offset=0018H
ldr x0, [x19]
ldr x0, [x19]
ldr x1, [x0, #0x38]
ldr x1, [x0, #0x38]
ldr x1, [x1]
ldr x1, [x1]
ldr x1, [x1, #0x18]
ldr x1, [x1, #0x18]
cbz x1, G_M37783_IG04
cbz x1, G_M37783_IG04
;; size=20 bbWeight=1 PerfScore 13.00
;; size=20 bbWeight=1 PerfScore 13.00
G_M37783_IG03: ;; offset=0030H
G_M37783_IG03: ;; offset=002CH
b G_M37783_IG05
b G_M37783_IG05
align [0 bytes for IG06]
align [0 bytes for IG06]
align [0 bytes]
align [0 bytes]
align [0 bytes]
align [0 bytes]
align [0 bytes]
align [0 bytes]
;; size=4 bbWeight=0.80 PerfScore 0.80
;; size=4 bbWeight=0.80 PerfScore 0.80
G_M37783_IG04: ;; offset=0034H
G_M37783_IG04: ;; offset=0030H
movz x1, #0x4A60
movz x1, #0x4A60
movk x1, #0x923E LSL #16
movk x1, #0x923F LSL #16
movk x1, #0x7FF9 LSL #32
movk x1, #0x7FF9 LSL #32
bl CORINFO_HELP_RUNTIMEHANDLE_CLASS
bl CORINFO_HELP_RUNTIMEHANDLE_CLASS
mov x1, x0
mov x1, x0
;; size=20 bbWeight=0.20 PerfScore 0.60
;; size=20 bbWeight=0.20 PerfScore 0.60
G_M37783_IG05: ;; offset=0048H
G_M37783_IG05: ;; offset=0044H
ldr x2, [x19, #0x10]
ldr x2, [x19, #0x10]
add x0, fp, #16 // [V02 loc1]
add x0, fp, #16 // [V02 loc1]
movz x3, #0x6688 // code for System.Span`1[System.__Canon]:.ctor(System.__Canon[]):this
movz x3, #0x6688 // code for System.Span`1[System.__Canon]:.ctor(System.__Canon[]):this
movk x3, #0x915C LSL #16
movk x3, #0x915D LSL #16
movk x3, #0x7FF9 LSL #32
movk x3, #0x7FF9 LSL #32
ldr x3, [x3]
ldr x3, [x3]
blr x3
blr x3
mov w0, wzr
mov w0, wzr
ldr w1, [fp, #0x18] // [V07 tmp3]
ldr w1, [fp, #0x18] // [V07 tmp3]
cmp w1, #0
cmp w1, #0
ble G_M37783_IG07
ble G_M37783_IG07
;; size=44 bbWeight=1 PerfScore 13.00
;; size=44 bbWeight=1 PerfScore 13.00
G_M37783_IG06: ;; offset=0074H
G_M37783_IG06: ;; offset=0070H
ldr w1, [fp, #0x18] // [V07 tmp3]
ldr w1, [fp, #0x18] // [V07 tmp3]
cmp w0, w1
cmp w0, w1
bhs G_M37783_IG09
bhs G_M37783_IG09
ldr x1, [fp, #0x10] // [V06 tmp2]
ldr x1, [fp, #0x10] // [V06 tmp2]
str xzr, [x1, w0, UXTW #3]
str xzr, [x1, w0, UXTW #3]
add w0, w0, #1
add w0, w0, #1
ldr w1, [fp, #0x18] // [V07 tmp3]
ldr w1, [fp, #0x18] // [V07 tmp3]
cmp w0, w1
cmp w0, w1
blt G_M37783_IG06
blt G_M37783_IG06
;; size=36 bbWeight=4 PerfScore 42.00
;; size=36 bbWeight=4 PerfScore 42.00
G_M37783_IG07: ;; offset=0098H
G_M37783_IG07: ;; offset=0094H
mov x0, xzr
mov x0, xzr
;; size=4 bbWeight=1 PerfScore 0.50
;; size=4 bbWeight=1 PerfScore 0.50
G_M37783_IG08: ;; offset=009CH
G_M37783_IG08: ;; offset=0098H
ldr x19, [sp, #0x28]
ldr x19, [sp, #0x28]
ldp fp, lr, [sp], #0x30
ldp fp, lr, [sp], #0x30
ret lr
ret lr
;; size=12 bbWeight=1 PerfScore 4.00
;; size=12 bbWeight=1 PerfScore 4.00
G_M37783_IG09: ;; offset=00A8H
G_M37783_IG09: ;; offset=00A4H
bl CORINFO_HELP_RNGCHKFAIL
bl CORINFO_HELP_RNGCHKFAIL
brk_windows #0
brk_windows #0
;; size=8 bbWeight=0 PerfScore 0.00
;; size=8 bbWeight=0 PerfScore 0.00


; Total bytes of code 176, prolog size 28, PerfScore 97.50, instruction count 48, allocated bytes for code 176 (MethodHash=a4456c68) for method System.Collections.IndexerSet`1[System.__Canon]:Span():System.__Canon:this (FullOpts)
; Total bytes of code 172, prolog size 24, PerfScore 96.10, instruction count 47, allocated bytes for code 172 (MethodHash=a4456c68) for method System.Collections.IndexerSet`1[System.__Canon]:Span():System.__Canon:this (FullOpts)
; ============================================================
; ============================================================