bubblesort

생성일 비교 결과 만료 없음
22 삭제
103
21 추가
102
; Assembly listing for method Benchstone.BenchI.BubbleSort:VerifySort(System.Int32[],int):bool
; Assembly listing for method Benchstone.BenchI.BubbleSort:VerifySort(System.Int32[],int):bool
; 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
; discarded IBC profile data due to mismatch in ILSize
; discarded IBC profile data due to mismatch in ILSize
; Final local variable assignments
; Final local variable assignments
;
;
; V00 arg0 [V00,T01] ( 9, 24 ) ref -> rcx class-hnd
; V00 arg0 [V00,T01] ( 9, 24 ) ref -> rcx class-hnd
; V01 arg1 [V01,T05] ( 7, 13 ) int -> rdx
; V01 arg1 [V01,T05] ( 7, 13 ) int -> rdx
; V02 loc0 [V02,T00] ( 10, 37 ) int -> r8
; V02 loc0 [V02,T00] ( 10, 37 ) int -> r8
; V03 OutArgs [V03 ] ( 1, 1 ) lclBlk (32) [rsp+0x00] "OutgoingArgSpace"
; V03 OutArgs [V03 ] ( 1, 1 ) lclBlk (32) [rsp+0x00] "OutgoingArgSpace"
; V04 cse0 [V04,T02] ( 6, 18 ) int -> r9 "CSE - aggressive"
; V04 cse0 [V04,T02] ( 6, 18 ) int -> r9 "CSE - aggressive"
; V05 cse1 [V05,T03] ( 4, 16 ) int -> r8 "CSE - aggressive"
; V05 cse1 [V05,T03] ( 4, 16 ) int -> r8 "CSE - aggressive"
; V06 cse2 [V06,T04] ( 4, 16 ) int -> r8 "CSE - aggressive"
; V06 cse2 [V06,T04] ( 4, 16 ) int -> r8 "CSE - aggressive"
;
;
; Lcl frame size = 40
; Lcl frame size = 40


G_M10422_IG01: ;; offset=0000H
G_M10422_IG01: ;; offset=0000H
4883EC28 sub rsp, 40
4883EC28 sub rsp, 40
;; bbWeight=1 PerfScore 0.25
;; bbWeight=1 PerfScore 0.25
G_M10422_IG02: ;; offset=0004H
G_M10422_IG02: ;; offset=0004H
4533C0 xor r8d, r8d
4533C0 xor r8d, r8d
85D2 test edx, edx
85D2 test edx, edx
7E6C jle SHORT G_M10422_IG09
7E6C jle SHORT G_M10422_IG09
4885C9 test rcx, rcx
4885C9 test rcx, rcx
743C je SHORT G_M10422_IG07
7440 je SHORT G_M10422_IG07
;; bbWeight=1 PerfScore 2.75
;; bbWeight=1 PerfScore 2.75
G_M10422_IG03: ;; offset=0010H
G_M10422_IG03: ;; offset=0010H
448B4908 mov r9d, dword ptr [rcx+8]
448B4908 mov r9d, dword ptr [rcx+8]
443BCA cmp r9d, edx
443BCA cmp r9d, edx
0F9DC0 setge al
0F9DC0 setge al
0FB6C0 movzx rax, al
0FB6C0 movzx rax, al
448BD2 mov r10d, edx
448BD2 mov r10d, edx
41F7D2 not r10d
41F7D2 not r10d
41C1EA1F shr r10d, 31
41C1EA1F shr r10d, 31
4185C2 test eax, r10d
4185C2 test eax, r10d
7420 je SHORT G_M10422_IG07
7424 je SHORT G_M10422_IG07
align
0F1F4000 align
;; bbWeight=1 PerfScore 7.50
;; bbWeight=1 PerfScore 7.50
G_M10422_IG04: ;; offset=002CH
G_M10422_IG04: ;; offset=0030H
4963C0 movsxd rax, r8d
4963C0 movsxd rax, r8d
8B448110 mov eax, dword ptr [rcx+4*rax+16]
8B448110 mov eax, dword ptr [rcx+4*rax+16]
41FFC0 inc r8d
41FFC0 inc r8d
453BC1 cmp r8d, r9d
453BC1 cmp r8d, r9d
7349 jae SHORT G_M10422_IG13
7349 jae SHORT G_M10422_IG13
4D63D0 movsxd r10, r8d
4D63D0 movsxd r10, r8d
423B449110 cmp eax, dword ptr [rcx+4*r10+16]
423B449110 cmp eax, dword ptr [rcx+4*r10+16]
7F38 jg SHORT G_M10422_IG11
7F38 jg SHORT G_M10422_IG11
;; bbWeight=4 PerfScore 28.00
;; bbWeight=4 PerfScore 28.00
G_M10422_IG05: ;; offset=0045H
G_M10422_IG05: ;; offset=0049H
443BC2 cmp r8d, edx
443BC2 cmp r8d, edx
7CE2 jl SHORT G_M10422_IG04
7CE2 jl SHORT G_M10422_IG04
;; bbWeight=4 PerfScore 5.00
;; bbWeight=4 PerfScore 5.00
G_M10422_IG06: ;; offset=004AH
G_M10422_IG06: ;; offset=004EH
EB27 jmp SHORT G_M10422_IG09
EB27 jmp SHORT G_M10422_IG09
align
;; bbWeight=1 PerfScore 2.00
;; bbWeight=1 PerfScore 2.25
G_M10422_IG07: ;; offset=0050H
G_M10422_IG07: ;; offset=004CH
448B4908 mov r9d, dword ptr [rcx+8]
448B4908 mov r9d, dword ptr [rcx+8]
453BC1 cmp r8d, r9d
453BC1 cmp r8d, r9d
732F jae SHORT G_M10422_IG13
732F jae SHORT G_M10422_IG13
4963C0 movsxd rax, r8d
4963C0 movsxd rax, r8d
8B448110 mov eax, dword ptr [rcx+4*rax+16]
8B448110 mov eax, dword ptr [rcx+4*rax+16]
41FFC0 inc r8d
41FFC0 inc r8d
453BC1 cmp r8d, r9d
453BC1 cmp r8d, r9d
7320 jae SHORT G_M10422_IG13
7320 jae SHORT G_M10422_IG13
4D63C8 movsxd r9, r8d
4D63C8 movsxd r9, r8d
423B448910 cmp eax, dword ptr [rcx+4*r9+16]
423B448910 cmp eax, dword ptr [rcx+4*r9+16]
7F0F jg SHORT G_M10422_IG11
7F0F jg SHORT G_M10422_IG11
;; bbWeight=4 PerfScore 41.00
;; bbWeight=4 PerfScore 41.00
G_M10422_IG08: ;; offset=006EH
G_M10422_IG08: ;; offset=0072H
443BC2 cmp r8d, edx
443BC2 cmp r8d, edx
7CD9 jl SHORT G_M10422_IG07
7CD9 jl SHORT G_M10422_IG07
;; bbWeight=4 PerfScore 5.00
;; bbWeight=4 PerfScore 5.00
G_M10422_IG09: ;; offset=0073H
G_M10422_IG09: ;; offset=0077H
B801000000 mov eax, 1
B801000000 mov eax, 1
;; bbWeight=0.50 PerfScore 0.12
;; bbWeight=0.50 PerfScore 0.12
G_M10422_IG10: ;; offset=0078H
G_M10422_IG10: ;; offset=007CH
4883C428 add rsp, 40
4883C428 add rsp, 40
C3 ret
C3 ret
;; bbWeight=0.50 PerfScore 0.62
;; bbWeight=0.50 PerfScore 0.62
G_M10422_IG11: ;; offset=007DH
G_M10422_IG11: ;; offset=0081H
33C0 xor eax, eax
33C0 xor eax, eax
;; bbWeight=0.50 PerfScore 0.12
;; bbWeight=0.50 PerfScore 0.12
G_M10422_IG12: ;; offset=007FH
G_M10422_IG12: ;; offset=0083H
4883C428 add rsp, 40
4883C428 add rsp, 40
C3 ret
C3 ret
;; bbWeight=0.50 PerfScore 0.62
;; bbWeight=0.50 PerfScore 0.62
G_M10422_IG13: ;; offset=0084H
G_M10422_IG13: ;; offset=0088H
E800000000 call CORINFO_HELP_RNGCHKFAIL
E800000000 call CORINFO_HELP_RNGCHKFAIL
CC int3
CC int3
;; bbWeight=0 PerfScore 0.00
;; bbWeight=0 PerfScore 0.00


; Total bytes of code 138, prolog size 4, PerfScore 107.45, instruction count 49, allocated bytes for code 142 (MethodHash=446dd749) for method Benchstone.BenchI.BubbleSort:VerifySort(System.Int32[],int):bool
; Total bytes of code 142, prolog size 4, PerfScore 107.20, instruction count 48, allocated bytes for code 142 (MethodHash=446dd749) for method Benchstone.BenchI.BubbleSort:VerifySort(System.Int32[],int):bool
; ============================================================
; ============================================================


Using jit(E:\alignment\clonedloops\before\clrjit.dll) with input (D:\git\runtime\artifacts\spmi\mch\af37688b-d4e5-4a41-a7ee-701728a470aa.windows.x64\benchmarks.run.windows.x64.checked.mch)
Using jit(E:\alignment\clonedloops\noalignforcloned\clrjit.dll) with input (D:\git\runtime\artifacts\spmi\mch\af37688b-d4e5-4a41-a7ee-701728a470aa.windows.x64\benchmarks.run.windows.x64.checked.mch)
indexCount=1 (22896)
indexCount=1 (22896)
Jit startup took 6.417400ms
Jit startup took 6.074000ms
Loaded 1 Jitted 1 FailedCompile 0 Excluded 0
Loaded 1 Jitted 1 FailedCompile 0 Excluded 0
Total time: 12.712500ms
Total time: 12.420700ms