2 values

Created Diff never expires
9 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
30 lines
12 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
33 lines
; StringSearcher.Benchmark.Contains()
; StringSearcher.Benchmark.Contains()
push rsi
push rsi
xor eax,eax
xor eax,eax
mov rdx,[rcx+30]
mov rdx,[rcx+30]
xor ecx,ecx
xor ecx,ecx
mov r8d,[rdx+8]
mov r8d,[rdx+8]
test r8d,r8d
test r8d,r8d
jle short M00_L03
jle short M00_L02
mov r9,21B75005F48
mov r9,200E2C05F48
mov r9,[r9]
mov r9,[r9]
nop
nop
M00_L00:
M00_L00:
mov r10d,ecx
mov r10d,ecx
movzx r10d,word ptr [rdx+r10*2+10]
movzx r10d,word ptr [rdx+r10*2+10]
mov r11,r9
mov r11,r9
movzx esi,word ptr [r11+8]
movzx esi,word ptr [r11+8]
cmp r10d,esi
cmp r10d,esi
je short M00_L01
sete sil
movzx esi,sil
movzx r11d,word ptr [r11+0A]
movzx r11d,word ptr [r11+0A]
cmp r10d,r11d
cmp r10d,r11d
jne short M00_L02
sete r10b
M00_L01:
movzx r10d,r10b
or r10b,sil
je short M00_L01
inc eax
inc eax
M00_L02:
M00_L01:
inc ecx
inc ecx
cmp r8d,ecx
cmp r8d,ecx
jg short M00_L00
jg short M00_L00
M00_L03:
M00_L02:
pop rsi
pop rsi
ret
ret