📄 gvmat32c.cod
字号:
; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.762
TITLE d:\src\VS2005\cpp\CeRemoteClient\zlib123\contrib\masmx86\gvmat32c.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB OLDNAMES
EXTRN _cpudetect32:PROC
EXTRN _longest_match_7fff:PROC
EXTRN _longest_match_686:PROC
_iIsPPro DD 02H
PUBLIC _longest_match
; Function compile flags: /Ogtpy
; File d:\src\vs2005\cpp\ceremoteclient\zlib123\contrib\masmx86\gvmat32c.c
; COMDAT _longest_match
_TEXT SEGMENT
_longest_match PROC ; COMDAT
; _s$ = eax
; _cur_match$ = ecx
; 51 : if (iIsPPro!=0)
00000 83 3d 00 00 00
00 00 cmp DWORD PTR _iIsPPro, 0
; 52 : return longest_match_686(s,cur_match);
00007 51 push ecx
00008 50 push eax
00009 74 09 je SHORT $LN2@longest_ma
$LN6@longest_ma:
0000b e8 00 00 00 00 call _longest_match_686
; 56 :
; 57 : /* now ((s->w_mask == 0x7fff) && (iIsPPro==0)) */
; 58 : return longest_match_7fff(s,cur_match);
00010 83 c4 08 add esp, 8
; 59 : }
00013 c3 ret 0
$LN2@longest_ma:
; 53 :
; 54 : if (s->w_mask != 0x7fff)
00014 81 78 34 ff 7f
00 00 cmp DWORD PTR [eax+52], 32767 ; 00007fffH
; 55 : return longest_match_686(s,cur_match);
0001b 75 ee jne SHORT $LN6@longest_ma
; 56 :
; 57 : /* now ((s->w_mask == 0x7fff) && (iIsPPro==0)) */
; 58 : return longest_match_7fff(s,cur_match);
0001d e8 00 00 00 00 call _longest_match_7fff
00022 83 c4 08 add esp, 8
; 59 : }
00025 c3 ret 0
_longest_match ENDP
_TEXT ENDS
PUBLIC _match_init
; Function compile flags: /Ogtpy
; COMDAT _match_init
_TEXT SEGMENT
_match_init PROC ; COMDAT
; 44 : iIsPPro = (((cpudetect32()/0x100)&0xf)>=6) ? 1 : 0;
00000 e8 00 00 00 00 call _cpudetect32
00005 25 00 0f 00 00 and eax, 3840 ; 00000f00H
0000a 3d 00 06 00 00 cmp eax, 1536 ; 00000600H
0000f 1b c0 sbb eax, eax
00011 83 c0 01 add eax, 1
00014 a3 00 00 00 00 mov DWORD PTR _iIsPPro, eax
; 45 : }
00019 c3 ret 0
_match_init ENDP
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -