ZeroMemory

Created Diff never expires
24 removals
Words removed37
Total words108
Words removed (%)34.26
33 lines
27 additions
Words added42
Total words113
Words added (%)37.17
35 lines
System.Data.SafeNativeMethods:ZeroMemory1(long,int):
System.Data.SafeNativeMethods:ZeroMemory(long,int):
; Emitting BLENDED_CODE for X64 CPU with SSE2 - Unix
; Emitting BLENDED_CODE for X64 CPU with SSE2 - Unix
push rbp
push rbp
sub rsp, 16
sub rsp, 16
lea rbp, [rsp+10H]
lea rbp, [rsp+10H]
;; size=10 bbWeight=1 PerfScore 1.75
;; size=10 bbWeight=1 PerfScore 1.75
test esi, esi
jl SHORT G_M65310_IG07
mov esi, esi
mov esi, esi
mov qword ptr [rbp-08H], rsi
mov qword ptr [rbp-08H], rsi
test rsi, rsi
test rsi, rsi
je SHORT G_M22095_IG04
je SHORT G_M65310_IG05
;; size=11 bbWeight=1 PerfScore 2.50
;; size=15 bbWeight=1 PerfScore 3.75
cmp rsi, 768
cmp rsi, 768
ja SHORT G_M22095_IG06
ja SHORT G_M65310_IG04
xor esi, esi
xor esi, esi
mov edx, dword ptr [rbp-08H]
mov edx, dword ptr [rbp-08H]
call [CORINFO_HELP_MEMSET]
call [CORINFO_HELP_MEMSET]
;; size=20 bbWeight=0.50 PerfScore 2.75
jmp SHORT G_M65310_IG05
G_M22095_IG04:
;; size=22 bbWeight=0.50 PerfScore 3.75
G_M65310_IG04:
mov rsi, qword ptr [rbp-08H]
call [System.Buffer:_ZeroMemory(byref,ulong)]
;; size=10 bbWeight=0.50 PerfScore 2.00
G_M65310_IG05:
nop
nop
;; size=1 bbWeight=0.50 PerfScore 0.12
;; size=1 bbWeight=1 PerfScore 0.25
add rsp, 16
add rsp, 16
pop rbp
pop rbp
ret
ret
;; size=6 bbWeight=0.50 PerfScore 0.88
;; size=6 bbWeight=1 PerfScore 1.75
G_M22095_IG06:
G_M65310_IG07:
mov rsi, qword ptr [rbp-08H]
call [System.ThrowHelper:ThrowArgumentOutOfRangeException()]
lea rax, [(reloc)]
int3
;; size=11 bbWeight=0.50 PerfScore 0.75
;; size=7 bbWeight=0 PerfScore 0.00
add rsp, 16
pop rbp
tail.jmp [rax]System.Buffer:_ZeroMemory(byref,ulong)
;; size=8 bbWeight=0.50 PerfScore 1.38