亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? gvmat32c.c

?? 墨香最新私服
?? C
字號(hào):
/* gvmat32.c -- C portion of the optimized longest_match for 32 bits x86
 * Copyright (C) 1995-1996 Jean-loup Gailly and Gilles Vollant.
 * File written by Gilles Vollant, by modifiying the longest_match
 *  from Jean-loup Gailly in deflate.c
 *  it prepare all parameters and call the assembly longest_match_gvasm
 *  longest_match execute standard C code is wmask != 0x7fff
 *     (assembly code is faster with a fixed wmask)
 *
 */

#include "deflate.h"

#undef FAR
//#include <windows.h>

#ifdef ASMV
#define NIL 0

#define UNALIGNED_OK


/* if your C compiler don't add underline before function name,
		define ADD_UNDERLINE_ASMFUNC */
#ifdef ADD_UNDERLINE_ASMFUNC
#define longest_match_7fff _longest_match_7fff
#define longest_match_686  _longest_match_686
#define cpudetect32        _cpudetect32
#endif



void match_init()
{
}

unsigned long cpudetect32();

uInt longest_match_c(
    deflate_state *s,
    IPos cur_match);                             /* current match */


uInt longest_match_7fff(
    deflate_state *s,
    IPos cur_match);                             /* current match */

uInt longest_match_686(
    deflate_state *s,
    IPos cur_match);                             /* current match */

uInt longest_match(
    deflate_state *s,
    IPos cur_match)                             /* current match */
{
	static uInt iIsPPro=2;

    if ((s->w_mask == 0x7fff) && (iIsPPro==0))
        return longest_match_7fff(s,cur_match);

	if (iIsPPro==1)
		return longest_match_686(s,cur_match);

	if (iIsPPro==2)
		iIsPPro = (((cpudetect32()/0x100)&0xf)>=6) ? 1 : 0;

	return longest_match_c(s,cur_match);
}



uInt longest_match_c(s, cur_match)
    deflate_state *s;
    IPos cur_match;                             /* current match */
{
    unsigned chain_length = s->max_chain_length;/* max hash chain length */
    register Bytef *scan = s->window + s->strstart; /* current string */
    register Bytef *match;                       /* matched string */
    register int len;                           /* length of current match */
    int best_len = s->prev_length;              /* best match length so far */
    int nice_match = s->nice_match;             /* stop if match long enough */
    IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
        s->strstart - (IPos)MAX_DIST(s) : NIL;
    /* Stop when cur_match becomes <= limit. To simplify the code,
     * we prevent matches with the string of window index 0.
     */
    Posf *prev = s->prev;
    uInt wmask = s->w_mask;

#ifdef UNALIGNED_OK
    /* Compare two bytes at a time. Note: this is not always beneficial.
     * Try with and without -DUNALIGNED_OK to check.
     */
    register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
    register ush scan_start = *(ushf*)scan;
    register ush scan_end   = *(ushf*)(scan+best_len-1);
#else
    register Bytef *strend = s->window + s->strstart + MAX_MATCH;
    register Byte scan_end1  = scan[best_len-1];
    register Byte scan_end   = scan[best_len];
#endif

    /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
     * It is easy to get rid of this optimization if necessary.
     */
    Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");

    /* Do not waste too much time if we already have a good match: */
    if (s->prev_length >= s->good_match) {
        chain_length >>= 2;
    }
    /* Do not look for matches beyond the end of the input. This is necessary
     * to make deflate deterministic.
     */
    if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead;

    Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");

    do {
        Assert(cur_match < s->strstart, "no future");
        match = s->window + cur_match;

        /* Skip to next match if the match length cannot increase
         * or if the match length is less than 2:
         */
#if (defined(UNALIGNED_OK) && MAX_MATCH == 258)
        /* This code assumes sizeof(unsigned short) == 2. Do not use
         * UNALIGNED_OK if your compiler uses a different size.
         */
        if (*(ushf*)(match+best_len-1) != scan_end ||
            *(ushf*)match != scan_start) continue;

        /* It is not necessary to compare scan[2] and match[2] since they are
         * always equal when the other bytes match, given that the hash keys
         * are equal and that HASH_BITS >= 8. Compare 2 bytes at a time at
         * strstart+3, +5, ... up to strstart+257. We check for insufficient
         * lookahead only every 4th comparison; the 128th check will be made
         * at strstart+257. If MAX_MATCH-2 is not a multiple of 8, it is
         * necessary to put more guard bytes at the end of the window, or
         * to check more often for insufficient lookahead.
         */
        Assert(scan[2] == match[2], "scan[2]?");
        scan++, match++;
        do {
        } while (*(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 scan < strend);
        /* The funny "do {}" generates better code on most compilers */

        /* Here, scan <= window+strstart+257 */
        Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
        if (*scan == *match) scan++;

        len = (MAX_MATCH - 1) - (int)(strend-scan);
        scan = strend - (MAX_MATCH-1);

#else /* UNALIGNED_OK */

        if (match[best_len]   != scan_end  ||
            match[best_len-1] != scan_end1 ||
            *match            != *scan     ||
            *++match          != scan[1])      continue;

        /* The check at best_len-1 can be removed because it will be made
         * again later. (This heuristic is not always a win.)
         * It is not necessary to compare scan[2] and match[2] since they
         * are always equal when the other bytes match, given that
         * the hash keys are equal and that HASH_BITS >= 8.
         */
        scan += 2, match++;
        Assert(*scan == *match, "match[2]?");

        /* We check for insufficient lookahead only every 8th comparison;
         * the 256th check will be made at strstart+258.
         */
        do {
        } while (*++scan == *++match && *++scan == *++match &&
                 *++scan == *++match && *++scan == *++match &&
                 *++scan == *++match && *++scan == *++match &&
                 *++scan == *++match && *++scan == *++match &&
                 scan < strend);

        Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");

        len = MAX_MATCH - (int)(strend - scan);
        scan = strend - MAX_MATCH;

#endif /* UNALIGNED_OK */

        if (len > best_len) {
            s->match_start = cur_match;
            best_len = len;
            if (len >= nice_match) break;
#ifdef UNALIGNED_OK
            scan_end = *(ushf*)(scan+best_len-1);
#else
            scan_end1  = scan[best_len-1];
            scan_end   = scan[best_len];
#endif
        }
    } while ((cur_match = prev[cur_match & wmask]) > limit
             && --chain_length != 0);

    if ((uInt)best_len <= s->lookahead) return (uInt)best_len;
    return s->lookahead;
}

#endif /* ASMV */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色菇凉天天综合网| 国产在线精品一区二区三区不卡 | eeuss鲁一区二区三区| 精品日韩欧美在线| 国产主播一区二区三区| 精品粉嫩aⅴ一区二区三区四区| 免费在线观看视频一区| 日韩一区二区视频| 久久国产麻豆精品| 久久久欧美精品sm网站| 国产剧情一区二区| 国产日韩精品视频一区| 久久99日本精品| 日韩欧美色综合网站| 九九国产精品视频| 精品国产麻豆免费人成网站| 日韩av在线发布| 欧美无砖砖区免费| 亚洲一二三四区不卡| 一本色道久久加勒比精品| 一区二区三区欧美激情| 欧美日韩在线播放| 美女精品一区二区| 久久久欧美精品sm网站| www.激情成人| 亚洲成人免费视| 欧美刺激午夜性久久久久久久| 久久电影网电视剧免费观看| 久久久国际精品| 99国产精品久| 亚洲成a人v欧美综合天堂| 欧美一二三区精品| 国产成人在线影院| 亚洲在线视频免费观看| 日韩三级高清在线| 高清国产一区二区三区| 一级日本不卡的影视| 欧美一区二区三区在线电影 | 91精品国产综合久久久久久| 久草热8精品视频在线观看| 亚洲国产精品精华液2区45| 日本韩国欧美国产| 美女任你摸久久| 自拍偷在线精品自拍偷无码专区| 欧美色综合网站| 麻豆精品新av中文字幕| 国产精品色婷婷| 成人黄色国产精品网站大全在线免费观看| 亚洲六月丁香色婷婷综合久久| 91麻豆精品国产自产在线| 国产成人超碰人人澡人人澡| 亚洲妇熟xx妇色黄| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 欧美aaa在线| 国产精品动漫网站| 欧美成人官网二区| 色婷婷综合久久久中文字幕| 国内精品伊人久久久久av一坑| 亚洲激情欧美激情| 国产色91在线| 日韩一区二区在线观看视频| 色狠狠色噜噜噜综合网| 国产一区视频导航| 日日嗨av一区二区三区四区| 国产亚洲婷婷免费| 欧美一区二区在线播放| 日本韩国一区二区三区视频| 国产69精品一区二区亚洲孕妇| 午夜精品在线视频一区| 成人欧美一区二区三区黑人麻豆 | eeuss鲁一区二区三区| 韩国女主播成人在线| 一区二区三区在线观看欧美| 久久精品视频免费| 欧美视频三区在线播放| 99re这里都是精品| 粉嫩aⅴ一区二区三区四区五区| 久久超碰97人人做人人爱| 午夜精品福利视频网站| 一区二区三区在线观看视频 | 精品日产卡一卡二卡麻豆| 欧美日韩国产精品成人| 欧美三级在线视频| 色综合夜色一区| 国产精品自拍网站| 亚洲美女精品一区| 亚洲男人天堂av网| 亚洲色图欧洲色图婷婷| 亚洲三级免费电影| 亚洲精品国产精品乱码不99| 亚洲乱码中文字幕综合| 一区二区三区在线免费播放| 亚洲裸体在线观看| 亚洲综合网站在线观看| 亚洲香肠在线观看| 亚洲午夜影视影院在线观看| 亚洲专区一二三| 亚洲第一在线综合网站| 五月天一区二区| 另类综合日韩欧美亚洲| 国产一区二区三区免费在线观看| 激情深爱一区二区| 国产精品一区久久久久| 福利一区福利二区| 成人av资源下载| 一本一道久久a久久精品综合蜜臀| 久久电影国产免费久久电影| 国内久久婷婷综合| 高清国产一区二区| 色一区在线观看| 欧美日韩国产乱码电影| 日韩亚洲电影在线| 国产色婷婷亚洲99精品小说| 亚洲婷婷综合色高清在线| 午夜影院在线观看欧美| 亚洲第一会所有码转帖| 另类人妖一区二区av| 成人一级黄色片| 色综合久久88色综合天天免费| 欧美猛男男办公室激情| 日韩一区二区精品葵司在线| 精品国产第一区二区三区观看体验| 亚洲精品一区二区三区99| 裸体歌舞表演一区二区| 99国产一区二区三精品乱码| 国产主播一区二区三区| 欧美精品久久天天躁| 精品国产1区2区3区| 久久精品欧美日韩精品| 26uuu色噜噜精品一区二区| 国产精品久久久久婷婷二区次| 亚洲一卡二卡三卡四卡无卡久久| 欧美a一区二区| 99久久精品国产毛片| 在线成人av网站| 欧美激情一区二区三区四区| 亚洲精品一二三| 激情综合网激情| 91免费版在线看| 欧美变态凌虐bdsm| 亚洲免费毛片网站| 国产一区二区三区在线看麻豆| 色综合天天性综合| 精品国产免费人成在线观看| 亚洲另类春色国产| 国产成人高清在线| 欧美一区二区三区日韩视频| 日韩久久一区二区| 韩国v欧美v日本v亚洲v| 欧美影院精品一区| 国产日韩欧美不卡| 麻豆成人久久精品二区三区小说| 国产乱妇无码大片在线观看| 国产99一区视频免费| 一本大道av伊人久久综合| 精品福利一区二区三区免费视频| 亚洲综合精品自拍| 99在线精品视频| 久久亚区不卡日本| 日日摸夜夜添夜夜添国产精品| 97精品国产露脸对白| 久久免费视频色| 蜜桃视频一区二区| 欧美日韩第一区日日骚| 一区二区三区中文字幕精品精品 | 免费成人性网站| 欧美天堂一区二区三区| ㊣最新国产の精品bt伙计久久| 国产一区二区不卡| 日韩欧美一区二区在线视频| 亚洲五月六月丁香激情| 91麻豆精东视频| 国产精品久久久久久久久免费丝袜| 国产综合久久久久久鬼色| 日韩视频中午一区| 三级亚洲高清视频| 日韩一区二区免费电影| 久久成人综合网| 中国av一区二区三区| 色88888久久久久久影院野外| 亚洲综合男人的天堂| 91精品国产91热久久久做人人| 奇米综合一区二区三区精品视频| 欧美大胆一级视频| 国产91综合网| 一区二区在线免费观看| 欧美美女黄视频| 国产麻豆精品在线| 亚洲品质自拍视频网站| 欧美精品日韩一区| 国产一区二区美女诱惑| 中文字幕日本乱码精品影院| 欧美主播一区二区三区| 奇米影视一区二区三区小说| 久久亚洲精华国产精华液| 99re热视频精品| 免费高清视频精品| 国产精品成人午夜| 欧美一区二区精品在线| 丁香五精品蜜臀久久久久99网站|