Untitled diff

Criado O diff nunca expira
67 remoções
53 linhas
113 adições
89 linhas
; Assembly listing for method Test:Handler0(int,int) (FullOpts)
; Assembly listing for method Test:Handler1(int,int) (FullOpts)
; Emitting BLENDED_CODE for X64 with AVX - Windows
; Emitting BLENDED_CODE for X64 with AVX - Windows
; FullOpts code
; FullOpts code
; optimized code
; optimized code
; rsp based frame
; rbp based frame
; fully interruptible
; fully interruptible
; No PGO data
; No PGO data
; Final local variable assignments
; Final local variable assignments
;
;
; V00 arg0 [V00,T04] ( 4, 7 ) int -> rcx single-def
; V00 arg0 [V00,T04] ( 4, 11 ) int -> [rbp+10H] EH-live single-def
; V01 arg1 [V01,T02] ( 4, 22 ) int -> rdx single-def
; V01 arg1 [V01,T02] ( 4, 38 ) int -> [rbp+18H] EH-live single-def
; V02 loc0 [V02,T01] ( 3, 33 ) int -> rax
; V02 loc0 [V02,T00] ( 5,129 ) int -> [rbp-04H] do-not-enreg[Z] EH-live
; V03 loc1 [V03,T03] ( 4, 13 ) int -> r8
; V03 loc1 [V03,T03] ( 4, 25 ) int -> [rbp-08H] do-not-enreg[Z] EH-live
; V04 loc2 [V04,T00] ( 4, 52 ) int -> r10
; V04 loc2 [V04,T01] ( 4,100 ) int -> rax
;# V05 OutArgs [V05 ] ( 1, 1 ) struct ( 0) [rsp+00H] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
;# V05 OutArgs [V05 ] ( 1, 1 ) struct ( 0) [rsp+00H] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
;* V06 tmp1 [V06 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Single-def Box Helper" <System.UInt32>
;* V06 tmp1 [V06 ] ( 0, 0 ) ref -> zero-ref class-hnd "impSpillSpecialSideEff" <System.Exception>
;* V07 tmp2 [V07 ] ( 0, 0 ) ref -> zero-ref class-hnd exact "Single-def Box Helper" <System.UInt32>
; V08 PSPSym [V08,T05] ( 1, 1 ) long -> [rbp-10H] do-not-enreg[V] "PSPSym"
;
;
; Lcl frame size = 0
; Lcl frame size = 16
; BEGIN METHOD Test:Handler0(int,int)
; BEGIN METHOD Test:Handler1(int,int)


G_M45523_IG01: ;; offset=0000H
G_M13106_IG01: ;; offset=0000H
push rbp
sub rsp, 16
lea rbp, [rsp+10H]
mov qword ptr [rbp-10H], rsp
mov dword ptr [rbp+10H], ecx
mov dword ptr [rbp+18H], edx
;; size=0 bbWeight=1 PerfScore 0.00
;; size=20 bbWeight=1 PerfScore 4.75
G_M45523_IG02: ;; offset=0000H
G_M13106_IG02: ;; offset=0014H
xor eax, eax
xor eax, eax
mov dword ptr [rbp-04H], eax
;; size=5 bbWeight=1 PerfScore 1.25
G_M13106_IG03: ;; offset=0019H
xor r8d, r8d
mov dword ptr [rbp-08H], eax
test ecx, ecx
test ecx, ecx
jle SHORT G_M45523_IG06
jle SHORT G_M13106_IG07
;; size=9 bbWeight=1 PerfScore 1.75
;; size=7 bbWeight=1 PerfScore 2.25
G_M45523_IG03: ;; offset=0009H
G_M13106_IG04: ;; offset=0020H
xor r10d, r10d
xor eax, eax
test edx, edx
test edx, edx
jle SHORT G_M45523_IG05
jle SHORT G_M13106_IG06
align [0 bytes for IG04]
align [0 bytes for IG05]
;; size=7 bbWeight=4 PerfScore 6.00
;; size=6 bbWeight=4 PerfScore 6.00
G_M45523_IG04: ;; offset=0010H
G_M13106_IG05: ;; offset=0026H
mov r8d, dword ptr [rbp-04H]
add eax, 0x1FEFE590
add r8d, 0x1FEFE590
mov dword ptr [rbp-04H], r8d
mov r8d, dword ptr [rbp-04H]
xor eax, 0x59209DFC
xor r8d, 0x59209DFC
mov dword ptr [rbp-04H], r8d
inc r10d
inc eax
cmp r10d, edx
cmp eax, edx
jl SHORT G_M45523_IG04
jl SHORT G_M13106_IG05
;; size=18 bbWeight=16 PerfScore 32.00
;; size=36 bbWeight=32 PerfScore 192.00
G_M45523_IG05: ;; offset=0022H
G_M13106_IG06: ;; offset=004AH
inc r8d
mov eax, dword ptr [rbp-08H]
inc eax
mov dword ptr [rbp-08H], eax
mov ecx, dword ptr [rbp+10H]
cmp r8d, ecx
cmp dword ptr [rbp-08H], ecx
mov edx, dword ptr [rbp+18H]
jl SHORT G_M45523_IG03
jl SHORT G_M13106_IG04
;; size=8 bbWeight=4 PerfScore 6.00
;; size=19 bbWeight=8 PerfScore 58.00
G_M45523_IG06: ;; offset=002AH
G_M13106_IG07: ;; offset=005DH
add rsp, 16
pop rbp
ret
ret
;; size=1 bbWeight=1 PerfScore 1.00
;; size=6 bbWeight=1 PerfScore 1.75
G_M13106_IG08: ;; offset=0063H
push rbp
sub rsp, 16
mov rbp, qword ptr [rcx]
mov qword ptr [rsp], rbp
lea rbp, [rbp+10H]
;; size=16 bbWeight=0 PerfScore 0.00
G_M13106_IG09: ;; offset=0073H
lea rax, G_M13106_IG06
;; size=7 bbWeight=0 PerfScore 0.00
G_M13106_IG10: ;; offset=007AH
add rsp, 16
pop rbp
ret
;; size=6 bbWeight=0 PerfScore 0.00
; END METHOD Test:Handler0(int,int)
; END METHOD Test:Handler1(int,int)


; Total bytes of code 43, prolog size 0, PerfScore 51.05, instruction count 17, allocated bytes for code 43 (MethodHash=f2324e2c) for method Test:Handler0(int,int) (FullOpts)
; Total bytes of code 128, prolog size 20, PerfScore 278.80, instruction count 43, allocated bytes for code 128 (MethodHash=6d81cccd) for method Test:Handler1(int,int) (FullOpts)
; ============================================================
; ============================================================