Untitled Diff

创建于 差异永不过期
114 删除
325 行
133 添加
335 行
; Method P:CopyConstSlice4(ubyte[],ubyte[]):this
; Method P:CopyConstSlice4(ubyte[],ubyte[]):this
G_M64517_IG01:
G_M64517_IG01:
sub rsp, 40
sub rsp, 40
;; size=4 bbWeight=1 PerfScore 0.25
;; size=4 bbWeight=1 PerfScore 0.25


G_M64517_IG02:
G_M64517_IG02:
test r8, r8
test r8, r8
je SHORT G_M64517_IG07
je SHORT G_M64517_IG07
cmp dword ptr [r8+08H], 4
cmp dword ptr [r8+08H], 4
jb SHORT G_M64517_IG07
jb SHORT G_M64517_IG07
add r8, 16
add r8, 16
test rdx, rdx
test rdx, rdx
jne SHORT G_M64517_IG04
jne SHORT G_M64517_IG04
;; size=21 bbWeight=1 PerfScore 6.75
;; size=21 bbWeight=1 PerfScore 6.75


G_M64517_IG03:
G_M64517_IG03:
xor rcx, rcx
xor rax, rax
xor eax, eax
xor ecx, ecx
jmp SHORT G_M64517_IG05
jmp SHORT G_M64517_IG05
;; size=6 bbWeight=0.50 PerfScore 1.25
;; size=6 bbWeight=0.50 PerfScore 1.25


G_M64517_IG04:
G_M64517_IG04:
lea rcx, bword ptr [rdx+10H]
lea rax, bword ptr [rdx+10H]
mov eax, dword ptr [rdx+08H]
mov ecx, dword ptr [rdx+08H]
;; size=7 bbWeight=0.50 PerfScore 1.25
;; size=7 bbWeight=0.50 PerfScore 1.25


G_M64517_IG05:
G_M64517_IG05:
cmp eax, 4
cmp ecx, 4
jb SHORT G_M64517_IG08
jb SHORT G_M64517_IG08
mov rdx, r8
mov edx, dword ptr [r8]
mov r8d, 4
mov dword ptr [rax], edx
call [System.Buffer:Memmove(byref,byref,ulong)]
nop
;; size=21 bbWeight=1 PerfScore 5.00
;; size=10 bbWeight=1 PerfScore 4.25


G_M64517_IG06:
G_M64517_IG06:
add rsp, 40
add rsp, 40
ret
ret
;; size=5 bbWeight=1 PerfScore 1.25
;; size=5 bbWeight=1 PerfScore 1.25


G_M64517_IG07:
G_M64517_IG07:
call [System.ThrowHelper:ThrowArgumentOutOfRangeException()]
call [System.ThrowHelper:ThrowArgumentOutOfRangeException()]
int3
int3
;; size=7 bbWeight=0 PerfScore 0.00
;; size=7 bbWeight=0 PerfScore 0.00


G_M64517_IG08:
G_M64517_IG08:
call [System.ThrowHelper:ThrowArgumentException_DestinationTooShort()]
call [System.ThrowHelper:ThrowArgumentException_DestinationTooShort()]
int3
int3
;; size=7 bbWeight=0 PerfScore 0.00
;; size=7 bbWeight=0 PerfScore 0.00
; Total bytes of code: 78
; Total bytes of code: 67


; Method P:CopyConstSlice10(ubyte[],ubyte[]):this
; Method P:CopyConstSlice10(ubyte[],ubyte[]):this
G_M624_IG01:
G_M624_IG01:
sub rsp, 40
sub rsp, 40
;; size=4 bbWeight=1 PerfScore 0.25
;; size=4 bbWeight=1 PerfScore 0.25


G_M624_IG02:
G_M624_IG02:
test r8, r8
test r8, r8
je SHORT G_M624_IG07
je SHORT G_M624_IG07
cmp dword ptr [r8+08H], 10
cmp dword ptr [r8+08H], 10
jb SHORT G_M624_IG07
jb SHORT G_M624_IG07
add r8, 16
add r8, 16
test rdx, rdx
test rdx, rdx
jne SHORT G_M624_IG04
jne SHORT G_M624_IG04
;; size=21 bbWeight=1 PerfScore 6.75
;; size=21 bbWeight=1 PerfScore 6.75


G_M624_IG03:
G_M624_IG03:
xor rcx, rcx
xor rax, rax
xor eax, eax
xor ecx, ecx
jmp SHORT G_M624_IG05
jmp SHORT G_M624_IG05
;; size=6 bbWeight=0.50 PerfScore 1.25
;; size=6 bbWeight=0.50 PerfScore 1.25


G_M624_IG04:
G_M624_IG04:
lea rcx, bword ptr [rdx+10H]
lea rax, bword ptr [rdx+10H]
mov eax, dword ptr [rdx+08H]
mov ecx, dword ptr [rdx+08H]
;; size=7 bbWeight=0.50 PerfScore 1.25
;; size=7 bbWeight=0.50 PerfScore 1.25


G_M624_IG05:
G_M624_IG05:
cmp eax, 10
cmp ecx, 10
jb SHORT G_M624_IG08
jb SHORT G_M624_IG08
mov rcx, qword ptr [r8]
mov rdx, r8
mov rdx, qword ptr [r8+02H]
mov r8d, 10
mov qword ptr [rax], rcx
call [System.Buffer:Memmove(byref,byref,ulong)]
nop
mov qword ptr [rax+02H], rdx
;; size=21 bbWeight=1 PerfScore 5.00
;; size=19 bbWeight=1 PerfScore 7.25


G_M624_IG06:
G_M624_IG06:
add rsp, 40
add rsp, 40
ret
ret
;; size=5 bbWeight=1 PerfScore 1.25
;; size=5 bbWeight=1 PerfScore 1.25


G_M624_IG07:
G_M624_IG07:
call [System.ThrowHelper:ThrowArgumentOutOfRangeException()]
call [System.ThrowHelper:ThrowArgumentOutOfRangeException()]
int3
int3
;; size=7 bbWeight=0 PerfScore 0.00
;; size=7 bbWeight=0 PerfScore 0.00


G_M624_IG08:
G_M624_IG08:
call [System.ThrowHelper:ThrowArgumentException_DestinationTooShort()]
call [System.ThrowHelper:ThrowArgumentException_DestinationTooShort()]
int3
int3