arrays2_test_hoist

बनाया गया Diff कभी समाप्त नहीं होता
214 हटाए गए
257 लाइनें
216 जोड़े गए
256 लाइनें
; Assembly listing for method Benchstone.BenchI.Array2:Bench(int):bool
; Assembly listing for method Benchstone.BenchI.Array2:Bench(int):bool
; Emitting BLENDED_CODE for X64 CPU with AVX - Unix
; Emitting BLENDED_CODE for X64 CPU with AVX - Unix
; optimized code
; optimized code
; rbp based frame
; rbp based frame
; fully interruptible
; fully interruptible
; No matching PGO data
; No matching PGO data
; Final local variable assignments
; Final local variable assignments
;
;
; V00 arg0 [V00,T17] ( 6, 15 ) int -> rbx
; V00 arg0 [V00,T17] ( 6, 15 ) int -> rbx
; V01 loc0 [V01,T13] ( 9, 34.49) ref -> r14 class-hnd single-def
; V01 loc0 [V01,T13] ( 9, 34.49) ref -> r14 class-hnd single-def
; V02 loc1 [V02,T14] ( 8, 33.49) ref -> r15 class-hnd single-def
; V02 loc1 [V02,T14] ( 8, 33.49) ref -> r15 class-hnd single-def
;* V03 loc2 [V03 ] ( 0, 0 ) bool -> zero-ref
;* V03 loc2 [V03 ] ( 0, 0 ) bool -> zero-ref
; V04 loc3 [V04,T11] ( 15, 112.29) int -> r12
; V04 loc3 [V04,T11] ( 15, 112.29) int -> r12
; V05 loc4 [V05,T10] ( 20, 291.10) int -> rdi
; V05 loc4 [V05,T10] ( 20, 291.10) int -> rdi
; V06 loc5 [V06,T00] ( 23,1605.09) int -> r8
; V06 loc5 [V06,T00] ( 23,1605.09) int -> registers
;# V07 OutArgs [V07 ] ( 1, 1 ) lclBlk ( 0) [rsp+00H] "OutgoingArgSpace"
;# V07 OutArgs [V07 ] ( 1, 1 ) lclBlk ( 0) [rsp+00H] "OutgoingArgSpace"
; V08 tmp1 [V08,T01] ( 9,1536.00) ref -> registers class-hnd "Strict ordering of exceptions for Array store"
; V08 tmp1 [V08,T01] ( 9,1536.00) ref -> registers class-hnd "Strict ordering of exceptions for Array store"
; V09 tmp2 [V09,T05] ( 6,1024.00) int -> registers "Strict ordering of exceptions for Array store"
; V09 tmp2 [V09,T05] ( 6,1024.00) int -> registers "Strict ordering of exceptions for Array store"
; V10 tmp3 [V10,T03] ( 8,1034.19) ref -> registers "arr expr"
; V10 tmp3 [V10,T03] ( 8,1034.19) ref -> registers "arr expr"
; V11 tmp4 [V11,T02] ( 9,1536.00) ref -> registers "arr expr"
; V11 tmp4 [V11,T02] ( 9,1536.00) ref -> registers "arr expr"
; V12 tmp5 [V12,T04] ( 8,1034.19) ref -> registers "arr expr"
; V12 tmp5 [V12,T04] ( 8,1034.19) ref -> registers "arr expr"
; V13 cse0 [V13,T08] ( 4, 298.43) ref -> rdx "CSE - moderate"
; V13 cse0 [V13,T08] ( 4, 298.43) ref -> rdx "CSE - moderate"
; V14 cse1 [V14,T09] ( 4, 298.43) ref -> rcx "CSE - moderate"
; V14 cse1 [V14,T09] ( 4, 298.43) ref -> rcx "CSE - moderate"
; V15 cse2 [V15,T15] ( 5, 28.96) int -> r13 "CSE - moderate"
; V15 cse2 [V15,T15] ( 5, 28.96) int -> r13 "CSE - moderate"
; V16 cse3 [V16,T16] ( 5, 28.96) int -> rax "CSE - moderate"
; V16 cse3 [V16,T16] ( 5, 28.96) int -> rax "CSE - moderate"
; V17 cse4 [V17,T12] ( 6, 55.12) long -> rsi "CSE - moderate"
; V17 cse4 [V17,T12] ( 6, 55.12) long -> rsi "CSE - moderate"
; V18 cse5 [V18,T07] ( 3, 564.54) long -> rsi "CSE - moderate"
; V18 cse5 [V18,T07] ( 3, 564.54) long -> r8 "CSE - moderate"
; V19 cse6 [V19,T06] ( 3, 752.72) long -> r11 "CSE - aggressive"
; V19 cse6 [V19,T06] ( 3, 752.72) long -> r11 "CSE - aggressive"
;
;
; Lcl frame size = 8
; Lcl frame size = 8


G_M30565_IG01:
G_M30565_IG01:
000002a9`1f93b300 push rbp
0000022a`d794b2a0 push rbp
000002a9`1f93b301 push r15
0000022a`d794b2a1 push r15
000002a9`1f93b303 push r14
0000022a`d794b2a3 push r14
000002a9`1f93b305 push r13
0000022a`d794b2a5 push r13
000002a9`1f93b307 push r12
0000022a`d794b2a7 push r12
000002a9`1f93b309 push rbx
0000022a`d794b2a9 push rbx
000002a9`1f93b30a push rax
0000022a`d794b2aa push rax
000002a9`1f93b30b lea rbp, [rsp+30H]
0000022a`d794b2ab lea rbp, [rsp+30H]
000002a9`1f93b310 mov ebx, edi
0000022a`d794b2b0 mov ebx, edi
;; size=18 bbWeight=1 PerfScore 7.75
;; size=18 bbWeight=1 PerfScore 7.75
G_M30565_IG02:
G_M30565_IG02:
000002a9`1f93b312 mov edi, 10
0000022a`d794b2b2 mov edi, 10
000002a9`1f93b317 mov esi, 10
0000022a`d794b2b7 mov esi, 10
000002a9`1f93b31c mov edx, 10
0000022a`d794b2bc mov edx, 10
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (mov: 1) 32B boundary ...............................
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (mov: 1) 32B boundary ...............................
000002a9`1f93b321 call [Benchstone.BenchI.Array2:AllocArray(int,int,int):System.Int32[][][]]
0000022a`d794b2c1 call [Benchstone.BenchI.Array2:AllocArray(int,int,int):System.Int32[][][]]
000002a9`1f93b327 mov r14, rax
0000022a`d794b2c7 mov r14, rax
000002a9`1f93b32a mov edi, 10
0000022a`d794b2ca mov edi, 10
000002a9`1f93b32f mov esi, 10
0000022a`d794b2cf mov esi, 10
000002a9`1f93b334 mov edx, 10
0000022a`d794b2d4 mov edx, 10
000002a9`1f93b339 call [Benchstone.BenchI.Array2:AllocArray(int,int,int):System.Int32[][][]]
0000022a`d794b2d9 call [Benchstone.BenchI.Array2:AllocArray(int,int,int):System.Int32[][][]]
000002a9`1f93b33f mov r15, rax
0000022a`d794b2df mov r15, rax
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (mov: 2) 32B boundary ...............................
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (mov: 2) 32B boundary ...............................
000002a9`1f93b342 mov rdi, r14
0000022a`d794b2e2 mov rdi, r14
000002a9`1f93b345 call [Benchstone.BenchI.Array2:Initialize(System.Int32[][][])]
0000022a`d794b2e5 call [Benchstone.BenchI.Array2:Initialize(System.Int32[][][])]
000002a9`1f93b34b test ebx, ebx
0000022a`d794b2eb test ebx, ebx
000002a9`1f93b34d je G_M30565_IG20
0000022a`d794b2ed je G_M30565_IG20
;; size=65 bbWeight=1 PerfScore 12.50
;; size=65 bbWeight=1 PerfScore 12.50
G_M30565_IG03:
G_M30565_IG03:
000002a9`1f93b353 xor r12d, r12d
0000022a`d794b2f3 xor r12d, r12d
000002a9`1f93b356 test r15, r15
0000022a`d794b2f6 test r15, r15
000002a9`1f93b359 je G_M30565_IG14
0000022a`d794b2f9 je G_M30565_IG14
000002a9`1f93b35f test r14, r14
0000022a`d794b2ff test r14, r14
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (test: 2 ; jcc erratum) 32B boundary ...............................
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (test: 2 ; jcc erratum) 32B boundary ...............................
000002a9`1f93b362 je G_M30565_IG14
0000022a`d794b302 je G_M30565_IG14
000002a9`1f93b368 mov r13d, dword ptr [r15+8]
0000022a`d794b308 mov r13d, dword ptr [r15+8]
000002a9`1f93b36c cmp r13d, 10
0000022a`d794b30c cmp r13d, 10
000002a9`1f93b370 jl G_M30565_IG14
0000022a`d794b310 jl G_M30565_IG14
000002a9`1f93b376 mov eax, dword ptr [r14+8]
0000022a`d794b316 mov eax, dword ptr [r14+8]
000002a9`1f93b37a cmp eax, 10
0000022a`d794b31a cmp eax, 10
000002a9`1f93b37d jl G_M30565_IG14
0000022a`d794b31d jl G_M30565_IG14
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (jl: 3 ; jcc erratum) 32B boundary ...............................
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (jl: 3 ; jcc erratum) 32B boundary ...............................
;; size=48 bbWeight=4 PerfScore 37.00
;; size=48 bbWeight=4 PerfScore 37.00
G_M30565_IG04:
G_M30565_IG04:
000002a9`1f93b383 xor edi, edi
0000022a`d794b323 xor edi, edi
000002a9`1f93b385 cmp r13d, r12d
0000022a`d794b325 cmp r13d, r12d
000002a9`1f93b388 jle SHORT G_M30565_IG09
0000022a`d794b328 jle SHORT G_M30565_IG09
000002a9`1f93b38a ;; NOP compensation instructions of 4 bytes.
0000022a`d794b32a ;; NOP compensation instructions of 4 bytes.
000002a9`1f93b38e cmp eax, r12d
0000022a`d794b32e cmp eax, r12d
000002a9`1f93b391 jle SHORT G_M30565_IG09
0000022a`d794b331 jle SHORT G_M30565_IG09
000002a9`1f93b393 mov esi, r12d
0000022a`d794b333 mov esi, r12d
000002a9`1f93b396 mov rdx, gword ptr [r15+8*rsi+16]
0000022a`d794b336 mov rdx, gword ptr [r15+8*rsi+16]
000002a9`1f93b39b test rdx, rdx
0000022a`d794b33b test rdx, rdx
000002a9`1f93b39e je SHORT G_M30565_IG09
0000022a`d794b33e je SHORT G_M30565_IG09
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (je: 0 ; jcc erratum) 32B boundary ...............................
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (je: 0 ; jcc erratum) 32B boundary ...............................
000002a9`1f93b3a0 mov rcx, gword ptr [r14+8*rsi+16]
0000022a`d794b340 mov rcx, gword ptr [r14+8*rsi+16]
000002a9`1f93b3a5 test rcx, rcx
0000022a`d794b345 test rcx, rcx
000002a9`1f93b3a8 je SHORT G_M30565_IG09
0000022a`d794b348 je SHORT G_M30565_IG09
000002a9`1f93b3aa cmp dword ptr [rdx+8], 10
0000022a`d794b34a cmp dword ptr [rdx+8], 10
000002a9`1f93b3ae jl SHORT G_M30565_IG09
0000022a`d794b34e jl SHORT G_M30565_IG09
000002a9`1f93b3b0 cmp dword ptr [rcx+8], 10
0000022a`d794b350 cmp dword ptr [rcx+8], 10
000002a9`1f93b3b4 jl SHORT G_M30565_IG09
0000022a`d794b354 jl SHORT G_M30565_IG09
;; size=51 bbWeight=15.84 PerfScore 277.20
;; size=51 bbWeight=15.84 PerfScore 277.20
G_M30565_IG05:
G_M30565_IG05:
000002a9`1f93b3b6 xor r8d, r8d
0000022a`d794b356 xor esi, esi
000002a9`1f93b3b9 mov esi, edi
0000022a`d794b358 mov r8d, edi
000002a9`1f93b3bb align [5 bytes for IG06]
0000022a`d794b35b align [5 bytes for IG06]
; ............................... 32B boundary ...............................
; ............................... 32B boundary ...............................